Browse Source

completion: use __gitcomp_builtin in _git_show_branch

No new completable options!

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Nguyễn Thái Ngọc Duy 7 years ago committed by Junio C Hamano
parent
commit
09e271adf1
  1. 7
      contrib/completion/git-completion.bash

7
contrib/completion/git-completion.bash

@ -2773,12 +2773,7 @@ _git_show_branch () @@ -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

Loading…
Cancel
Save