completion: use __gitcomp_builtin in _git_branch
The new completable options are: --all --create-reflog --format= --ignore-case --quiet 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
b8e9d66294
commit
c01b56a3a8
@ -1220,12 +1220,8 @@ _git_branch ()
|
||||
__git_complete_refs --cur="${cur##--set-upstream-to=}"
|
||||
;;
|
||||
--*)
|
||||
__gitcomp "
|
||||
--color --no-color --verbose --abbrev= --no-abbrev
|
||||
--track --no-track --contains --no-contains --merged --no-merged
|
||||
--set-upstream-to= --edit-description --list
|
||||
--unset-upstream --delete --move --copy --remotes
|
||||
--column --no-column --sort= --points-at
|
||||
__gitcomp_builtin branch "--no-color --no-abbrev
|
||||
--no-track --no-column
|
||||
"
|
||||
;;
|
||||
*)
|
||||
|
Reference in New Issue
Block a user