Merge branch 'jk/stash-require-clean-index'
[gitweb.git] / contrib / completion / git-completion.bash
index 5944c824abe9aa4dee8b63b0e91a047125722b22..b28a14e8ca583e18d91e5eae0186a4ad352ad8fe 100644 (file)
@@ -735,7 +735,6 @@ __git_list_porcelain_commands ()
 __git_porcelain_commands=
 __git_compute_porcelain_commands ()
 {
-       __git_compute_all_commands
        test -n "$__git_porcelain_commands" ||
        __git_porcelain_commands=$(__git_list_porcelain_commands)
 }
@@ -1448,7 +1447,7 @@ _git_log ()
                return
                ;;
        --decorate=*)
-               __gitcomp "long short" "" "${cur##--decorate=}"
+               __gitcomp "full short no" "" "${cur##--decorate=}"
                return
                ;;
        --*)