From: Markus Heidelberg Date: Fri, 31 Oct 2008 00:04:46 +0000 (+0100) Subject: bash completion: add doubledash to "git show" X-Git-Tag: v1.6.0.4~25 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=41d8cf7d7fd79fe1fd00b04052c49bffaedfd309;p=git.git bash completion: add doubledash to "git show" Signed-off-by: Markus Heidelberg Signed-off-by: Junio C Hamano --- 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=*)