From fec7f6586a1c4699a1e6bf75f8bd394bed27e222 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Wed, 7 Dec 2005 20:48:34 -0500 Subject: [PATCH] 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 --- stgit/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0