aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-12-08 19:42:52 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2015-12-08 19:42:52 +0200
commitc0b1f733052c46f0ce08b716be8333d6432fc367 (patch)
tree781e09317588c1abe07ea8c010332463eec3a736
parentf5a1f9d8c445e5ee325b38b81f83f4703185cafc (diff)
manage.py: suppress diff of git-show with '-s'
Instead of '--no-patch' which is not available in older git versions. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-xmanage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/manage.py b/manage.py
index b061108..c89b4e8 100755
--- a/manage.py
+++ b/manage.py
@@ -444,8 +444,8 @@ def export_repo(repodir, datadir):
True)
series = defaultdict(int)
for sha1 in revisions:
- fn_base = git_cmd('show', ['--format=format:%f', '--no-patch',
- sha1], True)[0][:54]
+ fn_base = git_cmd('show', ['--format=format:%f', '-s', sha1],
+ True)[0][:54]
# In case of overlapping filenames, add a numerical suffix
series[fn_base] += 1
if series[fn_base] > 1: