Skip to content

Commit

Permalink
bash completion: add doubledash to "git show"
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Markus Heidelberg authored and Junio C Hamano committed Oct 31, 2008
1 parent 111539a commit 41d8cf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contrib/completion/git-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1410,6 +1410,8 @@ _git_shortlog ()

_git_show ()
{
__git_has_doubledash && return

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

0 comments on commit 41d8cf7

Please sign in to comment.