diff options
author | Tom Rini <trini@ti.com> | 2013-04-08 12:03:22 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-08 12:03:22 -0400 |
commit | f140b5863b258120f5412ea86733f70c87837ee9 (patch) | |
tree | 455e189543d1f46bf65a7c3e35186539a59f7be1 /tools/patman/patman.py | |
parent | 381c6e2c90ed083281649e74e461a303c1ffab47 (diff) | |
parent | fc3fe1c287fc5ee4c528b4059405571fcd2d55bd (diff) |
Merge branch 'patman' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'tools/patman/patman.py')
-rwxr-xr-x | tools/patman/patman.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/patman/patman.py b/tools/patman/patman.py index e049081eae..5000b7db25 100755 --- a/tools/patman/patman.py +++ b/tools/patman/patman.py @@ -49,10 +49,12 @@ parser.add_option('-i', '--ignore-errors', action='store_true', dest='ignore_errors', default=False, help='Send patches email even if patch errors are found') parser.add_option('-n', '--dry-run', action='store_true', dest='dry_run', - default=False, help="Do a try run (create but don't email patches)") + default=False, help="Do a dry run (create but don't email patches)") parser.add_option('-p', '--project', default=project.DetectProject(), help="Project name; affects default option values and " "aliases [default: %default]") +parser.add_option('-r', '--in-reply-to', type='string', action='store', + help="Message ID that this series is in reply to") parser.add_option('-s', '--start', dest='start', type='int', default=0, help='Commit to start creating patches from (0 = HEAD)') parser.add_option('-t', '--test', action='store_true', dest='test', @@ -70,7 +72,7 @@ parser.add_option('--no-tags', action='store_false', dest='process_tags', parser.usage = """patman [options] Create patches from commits in a branch, check them and email them as -specified by tags you place in the commits. Use -n to """ +specified by tags you place in the commits. Use -n to do a dry run first.""" # Parse options twice: first to get the project and second to handle @@ -163,7 +165,7 @@ else: cmd = '' if ok or options.ignore_errors: cmd = gitutil.EmailPatches(series, cover_fname, args, - options.dry_run, cc_file) + options.dry_run, cc_file, in_reply_to=options.in_reply_to) # For a dry run, just show our actions as a sanity check if options.dry_run: |