Skip to content

Commit 09e271a

Browse files
pcloudsgitster
authored andcommitted
completion: use __gitcomp_builtin in _git_show_branch
No new completable options! Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 44c9a6d commit 09e271a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

contrib/completion/git-completion.bash

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2773,12 +2773,7 @@ _git_show_branch ()
27732773
{
27742774
case "$cur" in
27752775
--*)
2776-
__gitcomp "
2777-
--all --remotes --topo-order --date-order --current --more=
2778-
--list --independent --merge-base --no-name
2779-
--color --no-color
2780-
--sha1-name --sparse --topics --reflog
2781-
"
2776+
__gitcomp_builtin show-branch "--no-color"
27822777
return
27832778
;;
27842779
esac

0 commit comments

Comments
 (0)