From: Masahiro Yamada Date: Tue, 18 Aug 2015 02:30:29 +0000 (+0900) Subject: patman: use -D option for git format-patch X-Git-Tag: v2015.10-rc3~92^2~21 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19b4a3369876f9215e2b861f211e8df1a75e26ca;p=u-boot patman: use -D option for git format-patch This allows Patman to generate smaller patches for file removal. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass Acked-by: Heiko Schocher --- diff --git a/tools/patman/gitutil.py b/tools/patman/gitutil.py index 9e739d89b6..67b086bd69 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()