mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
patman: Add --thread option
Add option to create threaded series of patches. With it, it will be possible to create patch threads like this: [PATCH 0/10] Add support for time travel [PATCH 1/10] Add Flux Capacitor driver [PATCH 2/10] Add Mr. Fusion driver (...) Internally it will call git send-email with --thread option Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Simon Glass
parent
f0e075162f
commit
27067a46c5
@@ -61,6 +61,8 @@ parser.add_option('--no-check', action='store_false', dest='check_patch',
|
||||
help="Don't check for patch compliance")
|
||||
parser.add_option('--no-tags', action='store_false', dest='process_tags',
|
||||
default=True, help="Don't process subject tags as aliaes")
|
||||
parser.add_option('-T', '--thread', action='store_true', dest='thread',
|
||||
default=False, help='Create patches as a single thread')
|
||||
|
||||
parser.usage += """
|
||||
|
||||
@@ -161,7 +163,7 @@ else:
|
||||
if its_a_go:
|
||||
cmd = gitutil.EmailPatches(series, cover_fname, args,
|
||||
options.dry_run, not options.ignore_bad_tags, cc_file,
|
||||
in_reply_to=options.in_reply_to)
|
||||
in_reply_to=options.in_reply_to, thread=options.thread)
|
||||
else:
|
||||
print col.Color(col.RED, "Not sending emails due to errors/warnings")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user