completion: use __gitcomp_builtin in _git_cherry
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
be6d1b24ad
commit
c55c4a5b64
@ -1286,6 +1286,12 @@ _git_checkout ()
|
||||
|
||||
_git_cherry ()
|
||||
{
|
||||
case "$cur" in
|
||||
--*)
|
||||
__gitcomp_builtin cherry
|
||||
return
|
||||
esac
|
||||
|
||||
__git_complete_refs
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user