chiark / gitweb /
Remove "-r" option on invocations of git-diff-index
authorChuck Lever <cel@netapp.com>
Thu, 8 Dec 2005 01:48:34 +0000 (20:48 -0500)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 8 Dec 2005 22:18:40 +0000 (22:18 +0000)
Clean-up: the "-r" option on git-diff-index has no effect, and is now
undocumented.

Signed-off-by: Chuck Lever <cel@netapp.com>
stgit/git.py

index 2cedeaa4d04007069468c518e6c830053f311397..dd7821e030ddc7b577133249717242f9018fd189 100644 (file)
@@ -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)