git-am: Mention --abort in usage string part of OPTIONS_SPEC
[gitweb.git] / contrib / completion / git-completion.bash
index 3b049348c3a4ed1b9c1f08340b023ac4597e5f4f..40b3d99737536c3cd85dece7b61d62d8977b43aa 100755 (executable)
@@ -626,6 +626,8 @@ _git_bundle ()
 
 _git_checkout ()
 {
+       __git_has_doubledash && return
+
        __gitcomp "$(__git_refs)"
 }