Merge branch 'sg/complete-decorate-full-not-long' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 26 May 2015 20:49:22 +0000 (13:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 May 2015 20:49:22 +0000 (13:49 -0700)
The completion for "log --decorate=" parameter value was incorrect.

* sg/complete-decorate-full-not-long:
completion: fix and update 'git log --decorate=' options

contrib/completion/git-completion.bash
index 5944c824abe9aa4dee8b63b0e91a047125722b22..eae9dce590e0000eb93e441106ef6538c07e86cc 100644 (file)
@@ -1448,7 +1448,7 @@ _git_log ()
                return
                ;;
        --decorate=*)
-               __gitcomp "long short" "" "${cur##--decorate=}"
+               __gitcomp "full short no" "" "${cur##--decorate=}"
                return
                ;;
        --*)