From: Markus Lehtonen Date: Fri, 8 Nov 2013 10:37:51 +0000 (+0200) Subject: CentOS compatibility: fix GitRepository.diff X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a39db2e196ef348fbb9154bfc5a152c1764ee169;p=tools%2Fgit-buildpackage.git CentOS compatibility: fix GitRepository.diff 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 --- diff --git a/gbp/git/repository.py b/gbp/git/repository.py index e2938545..e20adfbf 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -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: