Skip to content

Commit d7de7bd

Browse files
committed
add yet another msgid trailer
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 831a92b commit d7de7bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: patchew-cli

+3
Original file line numberDiff line numberDiff line change
@@ -495,13 +495,16 @@ class ProjectCommand(SubCommand):
495495
cwd=clone,
496496
).decode()
497497
msgid_trailer = 'Message-Id:'.casefold()
498+
msgid_link_trailer = 'Link: https://patch.msgid.link/'.casefold()
498499
lore_link_trailer = 'Link: https://lore.kernel.org/r/'.casefold()
499500
msgids = []
500501
for x in output.splitlines():
501502
words = x.split()
502503
header = x.casefold()
503504
if header.startswith(msgid_trailer):
504505
msgids.append(x[11:].strip())
506+
elif header.startswith(msgid_link_trailer):
507+
msgids.append('%s' % x[31:].rstrip())
505508
elif header.startswith(lore_link_trailer):
506509
msgids.append('%s' % x[32:].rstrip())
507510
logging.debug("message ids: \n%s" % "\n".join([" " + x for x in msgids]))

0 commit comments

Comments
 (0)