summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2010-09-23 14:33:51 +0200
committerJunio C Hamano <gitster@pobox.com>2010-09-27 10:52:49 -0700
commit861514d340021daa85bfa333c335932e9214988e (patch)
tree1e5c098ad07d10a51b09a1bc968875c27e3b6d43 /contrib
parentafa0876050496d4250e8b27680e5cbc60fbda760 (diff)
downloadgit-861514d340021daa85bfa333c335932e9214988e.tar.gz
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>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 67569901e7..f83f019ca9 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1125,7 +1125,7 @@ _git_diff ()
case "$cur" in
--*)
__gitcomp "--cached --staged --pickaxe-all --pickaxe-regex
- --base --ours --theirs
+ --base --ours --theirs --no-index
$__git_diff_common_options
"
return