git ls-remote: make usage string match manpage
[gitweb.git] / contrib / completion / git-completion.bash
index 751e273e1aeecd382bc584fcb80b2ed6f52ed862..39a1ce5a3979e6160b8450a0d9dd08ec6b6cd7a2 100755 (executable)
@@ -1410,6 +1410,8 @@ _git_shortlog ()
 
 _git_show ()
 {
+       __git_has_doubledash && return
+
        local cur="${COMP_WORDS[COMP_CWORD]}"
        case "$cur" in
        --pretty=*)