From: Chuck Lever Date: Thu, 8 Dec 2005 01:48:34 +0000 (-0500) Subject: Remove "-r" option on invocations of git-diff-index X-Git-Tag: v0.14.3~565 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/fec7f6586a1c4699a1e6bf75f8bd394bed27e222?ds=sidebyside Remove "-r" option on invocations of git-diff-index Clean-up: the "-r" option on git-diff-index has no effect, and is now undocumented. Signed-off-by: Chuck Lever --- diff --git a/stgit/git.py b/stgit/git.py index 2cedeaa..dd7821e 100644 --- a/stgit/git.py +++ b/stgit/git.py @@ -205,7 +205,7 @@ def __tree_status(files = None, tree_id = 'HEAD', unknown = False, cache_files += [('C', filename) for filename in conflicts] # the rest - for line in _output_lines(['git-diff-index', '-r', tree_id] + files): + for line in _output_lines(['git-diff-index', tree_id] + files): fs = tuple(line.rstrip().split(' ',4)[-1].split('\t',1)) if fs[1] not in conflicts: cache_files.append(fs)