mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
patman: Add --no-signoff to suppress adding signoffs
To enable use of patman with FSF/GNU projects, such as GCC or Binutils, no Signed-off-by may be added. This adds a command line flag '--no-signoff' to suppress adding signoffs in patman when processing commits. Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu> Reviewed-by: Simon Glass <sjg@chromium.org> Fix patman testBranch() test: Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5e66338bab
commit
b3aff15ee4
4 changed files with 12 additions and 8 deletions
|
@ -475,7 +475,7 @@ complicated as possible''')
|
|||
with capture_sys_output() as _:
|
||||
_, cover_fname, patch_files = control.prepare_patches(
|
||||
col, branch=None, count=-1, start=0, end=0,
|
||||
ignore_binary=False)
|
||||
ignore_binary=False, signoff=True)
|
||||
self.assertIsNone(cover_fname)
|
||||
self.assertEqual(2, len(patch_files))
|
||||
|
||||
|
@ -484,7 +484,7 @@ complicated as possible''')
|
|||
with capture_sys_output() as _:
|
||||
_, cover_fname, patch_files = control.prepare_patches(
|
||||
col, branch='second', count=-1, start=0, end=0,
|
||||
ignore_binary=False)
|
||||
ignore_binary=False, signoff=True)
|
||||
self.assertIsNotNone(cover_fname)
|
||||
self.assertEqual(3, len(patch_files))
|
||||
|
||||
|
@ -492,7 +492,7 @@ complicated as possible''')
|
|||
with capture_sys_output() as _:
|
||||
_, cover_fname, patch_files = control.prepare_patches(
|
||||
col, branch='second', count=-1, start=0, end=1,
|
||||
ignore_binary=False)
|
||||
ignore_binary=False, signoff=True)
|
||||
self.assertIsNotNone(cover_fname)
|
||||
self.assertEqual(2, len(patch_files))
|
||||
finally:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue