completion: use __gitcomp_builtin in _git_show_branch
[gitweb.git] / contrib / completion / git-completion.bash
index 30a51c5015ec85b8cbdc81e2d7b4af444bacdc17..7d58969efbfe35562b2936eb1e83a58fe8786415 100644 (file)
@@ -2773,12 +2773,7 @@ _git_show_branch ()
 {
        case "$cur" in
        --*)
-               __gitcomp "
-                       --all --remotes --topo-order --date-order --current --more=
-                       --list --independent --merge-base --no-name
-                       --color --no-color
-                       --sha1-name --sparse --topics --reflog
-                       "
+               __gitcomp_builtin show-branch "--no-color"
                return
                ;;
        esac