]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
patman: use -D option for git format-patch
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 18 Aug 2015 02:30:29 +0000 (11:30 +0900)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Aug 2015 14:54:13 +0000 (07:54 -0700)
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>
tools/patman/gitutil.py

index 9e739d89b6ff7ac261d6bc96b6c66def4b7d2937..67b086bd69c57d458cb878f407aef278fa4df426 100644 (file)
@@ -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()