mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
patman: Allow creating patches for another branch
Add a -b option to allow patches to be created from a branch other than the current one. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -31,6 +31,8 @@ from patman import test_checkpatch
|
||||
parser = OptionParser()
|
||||
parser.add_option('-H', '--full-help', action='store_true', dest='full_help',
|
||||
default=False, help='Display the README file')
|
||||
parser.add_option('-b', '--branch', type='str',
|
||||
help="Branch to process (by default, the current branch)")
|
||||
parser.add_option('-c', '--count', dest='count', type='int',
|
||||
default=-1, help='Automatically create patches from top n commits')
|
||||
parser.add_option('-i', '--ignore-errors', action='store_true',
|
||||
|
Reference in New Issue
Block a user