From: Markus Lehtonen Date: Fri, 8 Nov 2013 10:37:51 +0000 (+0200) Subject: CentOS compatibility: fix GitRepository.diff X-Git-Tag: tizen/0.6.22-20150206~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88fa39c163a583a04bebf6a1fb3cba94b751a052;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 16e13750..54c755f6 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -1781,7 +1781,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: