manage.py: use --no-stat and --no-signature in format-patch
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 Dec 2015 21:08:21 +0000 (23:08 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 Dec 2015 21:10:10 +0000 (23:10 +0200)
Just unneeded noise in the patches.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
manage.py

index c89b4e8c27e31c4dce22f3471a4d6c3b198f2189..9f0b4679534b4912de21f68a48c592e7aac10358 100755 (executable)
--- a/manage.py
+++ b/manage.py
@@ -91,7 +91,8 @@ def git_cat_file(treeish):
 
 def git_write_patch(treeish, outfile):
     """Write patch with user-defined filename"""
-    cmd = ['git', 'format-patch', '-1', '--stdout', treeish]
+    cmd = ['git', 'format-patch', '-1', '--stdout', '--no-stat',
+           '--no-signature', treeish]
     LOG.debug("Running command: '%s'", ' '.join(cmd))
     with open(outfile, 'w') as fobj:
         # Skip the first line of the patch that contains the commit sha1