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>
This commit is contained in:

committed by
Junio C Hamano

parent
44c9a6d269
commit
09e271adf1
@ -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
|
||||
|
Reference in New Issue
Block a user