@matheusbsbs / matheus-bagliano / commits / 861514d340
Fork 0

contrib/completion: --no-index option to git diff

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael J Gruber committed Sep 23, 2010 at 14:33 UTC 861514d340021daa85bfa333c335932e9214988e
1 file changed +1 -1
contrib/completion/git-completion.bash
+1 -1
@@ -1125,7 +1125,7 @@ _git_diff ()
1125 case "$cur" in
1126 --*)
1127 __gitcomp "--cached --staged --pickaxe-all --pickaxe-regex
1128 - --base --ours --theirs
1128 + --base --ours --theirs --no-index
1129 $__git_diff_common_options
1130 "
1131 return