CentOS compatibility: fix GitRepository.diff
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 8 Nov 2013 10:37:51 +0000 (12:37 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 7 Jan 2014 14:21:30 +0000 (16:21 +0200)
Remove the "all" parameter from --ignore-submodules which is not
supported by the old Git version of CentOS 6 (besides, it's the default,
anyway)

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/git/repository.py

index e29385457a7d454f36c40215ca5958ad2f8783bc..e20adfbfe26d4ed731d81bef77e7686249e85be7 100644 (file)
@@ -1749,7 +1749,7 @@ class GitRepository(object):
             options.add('--stat=%s' % stat)
         options.add_true(summary, '--summary')
         options.add_true(text, '--text')
-        options.add_true(ignore_submodules, '--ignore-submodules=all')
+        options.add_true(ignore_submodules, '--ignore-submodules')
         options.add(obj1)
         options.add_true(obj2, obj2)
         if paths: