manage.py: suppress diff of git-show with '-s'
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 Dec 2015 17:42:52 +0000 (19:42 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 8 Dec 2015 17:42:52 +0000 (19:42 +0200)
Instead of '--no-patch' which is not available in older git versions.

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

index b06110857335c4df504f06aab20e9cd069e4c4e3..c89b4e8c27e31c4dce22f3471a4d6c3b198f2189 100755 (executable)
--- 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: