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>
Nguyễn Thái Ngọc Duy committed
Feb 9, 2018 at 18:02 UTC
09e271adf183df3a83f4e3ed138ef161c8060d92
1 file changed
+1
-6
contrib/completion/git-completion.bash
+1
-6
@@ -2773,12 +2773,7 @@ _git_show_branch ()
2773
{
2774
case "$cur" in
2775
--*)
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"
2777
return
2778
;;
2779
esac