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, 3 Mar 2015 08:07:47 +0000 (10:07 +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 ce4e6d72e7731381ebf0a7af59579698a8e08b4e..da0d7b4258b2f0ec4eed93c9090e6ad626b6f9a1 100644 (file)
@@ -1795,7 +1795,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: