diff options
author | Tom Rini <trini@konsulko.com> | 2020-05-30 11:37:32 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-30 11:37:32 -0400 |
commit | a08e0a28ebe23adf6dcd7533acb196058f6c421a (patch) | |
tree | 1f160278d96b8864f093b38a94ae054e71b9df8a /tools/patman/gitutil.py | |
parent | 29b0540d5acc35c8096d7147d7574d0b3ae7dcc0 (diff) | |
parent | dc03ba48be2b78aaaa597889409cf29bfd2b271e (diff) |
Merge tag 'dm-pull-30may20' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm
Patman changelog enhancements
Sandbox SPI flash doc update
Diffstat (limited to 'tools/patman/gitutil.py')
-rw-r--r-- | tools/patman/gitutil.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py index 770a0510142..72fc95d5580 100644 --- a/tools/patman/gitutil.py +++ b/tools/patman/gitutil.py @@ -254,7 +254,7 @@ def Fetch(git_dir=None, work_tree=None): if result.return_code != 0: raise OSError('git fetch: %s' % result.stderr) -def CreatePatches(start, count, series): +def CreatePatches(start, count, ignore_binary, series): """Create a series of patches from the top of the current branch. The patch files are written to the current directory using @@ -270,6 +270,8 @@ def CreatePatches(start, count, series): if series.get('version'): version = '%s ' % series['version'] cmd = ['git', 'format-patch', '-M', '--signoff'] + if ignore_binary: + cmd.append('--no-binary') if series.get('cover'): cmd.append('--cover-letter') prefix = series.GetPatchPrefix() |