Skip to content

Commit 861514d

Browse files
Michael J Grubergitster
authored andcommitted
contrib/completion: --no-index option to git diff
Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent afa0876 commit 861514d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ _git_diff ()
11251125
case "$cur" in
11261126
--*)
11271127
__gitcomp "--cached --staged --pickaxe-all --pickaxe-regex
1128-
--base --ours --theirs
1128+
--base --ours --theirs --no-index
11291129
$__git_diff_common_options
11301130
"
11311131
return

0 commit comments

Comments
 (0)