aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2008-10-31 01:04:46 +0100
committerJunio C Hamano <gitster@pobox.com>2008-10-31 00:46:27 -0700
commit41d8cf7d7fd79fe1fd00b04052c49bffaedfd309 (patch)
tree98145f24a377a664c39d5920521fb919638a679e /contrib
parent111539a3c75c22df7f1bbe242ce2f886b01d2491 (diff)
downloadgit-41d8cf7d7fd79fe1fd00b04052c49bffaedfd309.tar.gz
git-41d8cf7d7fd79fe1fd00b04052c49bffaedfd309.tar.xz
bash completion: add doubledash to "git show"
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 751e273e1..39a1ce5a3 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1410,6 +1410,8 @@ _git_shortlog ()
_git_show ()
{
+ __git_has_doubledash && return
+
local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
--pretty=*)