diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-12-08 19:42:52 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2015-12-08 19:42:52 +0200 |
commit | c0b1f733052c46f0ce08b716be8333d6432fc367 (patch) | |
tree | 781e09317588c1abe07ea8c010332463eec3a736 | |
parent | f5a1f9d8c445e5ee325b38b81f83f4703185cafc (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-x | manage.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |