1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-01 23:07:55 +01:00

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:
Nguyễn Thái Ngọc Duy 2018-02-09 18:02:17 +07:00 committed by Junio C Hamano
parent 44c9a6d269
commit 09e271adf1

View 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