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>
This commit is contained in:
Markus Heidelberg 2008-10-31 01:04:46 +01:00 committed by Junio C Hamano
parent 111539a3c7
commit 41d8cf7d7f

View file

@ -1410,6 +1410,8 @@ _git_shortlog ()
_git_show () _git_show ()
{ {
__git_has_doubledash && return
local cur="${COMP_WORDS[COMP_CWORD]}" local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in case "$cur" in
--pretty=*) --pretty=*)