Merge branch 'ac/graph-horizontal-line'
[gitweb.git] / contrib / completion / git-completion.bash
index b6bcd5cc26eb2cb9cb08d1e9535c3c6e91e16644..f8d4cb2c7d6afd2d4f35572148de06ad3e542647 100755 (executable)
@@ -1837,7 +1837,7 @@ _git_show ()
                return
                ;;
        --*)
-               __gitcomp "--pretty= --format=
+               __gitcomp "--pretty= --format= --abbrev-commit --oneline
                        $__git_diff_common_options
                        "
                return
@@ -1854,7 +1854,7 @@ _git_show_branch ()
                __gitcomp "
                        --all --remotes --topo-order --current --more=
                        --list --independent --merge-base --no-name
-                       --sha1-name --topics --reflog
+                       --sha1-name --sparse --topics --reflog
                        "
                return
                ;;