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>
maint
Markus Heidelberg 2008-10-31 01:04:46 +01:00 committed by Junio C Hamano
parent 111539a3c7
commit 41d8cf7d7f
1 changed files with 2 additions and 0 deletions

View File

@ -1410,6 +1410,8 @@ _git_shortlog ()

_git_show ()
{
__git_has_doubledash && return

local cur="${COMP_WORDS[COMP_CWORD]}"
case "$cur" in
--pretty=*)