aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-12-08 23:08:21 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-12-08 23:10:10 +0200
commit830cb9b306e4c5181d6fecc807484c8183ed9467 (patch)
tree6050b55ef0b214c55317925111db2d0439c2fce4
parentc0b1f733052c46f0ce08b716be8333d6432fc367 (diff)
manage.py: use --no-stat and --no-signature in format-patch
Just unneeded noise in the patches. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xmanage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/manage.py b/manage.py
index c89b4e8..9f0b467 100755
--- 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