summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-08-18 11:30:29 +0900
committerSimon Glass <sjg@chromium.org>2015-08-26 07:54:13 -0700
commit19b4a3369876f9215e2b861f211e8df1a75e26ca (patch)
treee18097b739b7e3fad88125de04f69484e8029a07 /tools
parentc78dfb4fd2cc8dbcd0baa3d180aeef1a06b1f062 (diff)
downloadu-boot-imx-19b4a3369876f9215e2b861f211e8df1a75e26ca.zip
u-boot-imx-19b4a3369876f9215e2b861f211e8df1a75e26ca.tar.gz
u-boot-imx-19b4a3369876f9215e2b861f211e8df1a75e26ca.tar.bz2
patman: use -D option for git format-patch
This allows Patman to generate smaller patches for file removal. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/patman/gitutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py
index 9e739d8..67b086b 100644
--- a/tools/patman/gitutil.py
+++ b/tools/patman/gitutil.py
@@ -264,7 +264,7 @@ def CreatePatches(start, count, series):
"""
if series.get('version'):
version = '%s ' % series['version']
- cmd = ['git', 'format-patch', '-M', '--signoff']
+ cmd = ['git', 'format-patch', '-D', '-M', '--signoff']
if series.get('cover'):
cmd.append('--cover-letter')
prefix = series.GetPatchPrefix()