aboutsummaryrefslogtreecommitdiff
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
parentafa0876050496d4250e8b27680e5cbc60fbda760 (diff)
downloadgit-861514d340021daa85bfa333c335932e9214988e.tar.gz
git-861514d340021daa85bfa333c335932e9214988e.tar.xz
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>
-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 67569901e..f83f019ca 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