completion: use __gitcomp_builtin in _git_clone
The new completable options are: --config --dissociate --ipv4 --ipv6 --jobs= --progress --reference-if-able --separate-git-dir= --shallow-exclude --shallow-since= --verbose 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:
parent
26e90958e9
commit
4304d3d144
@ -1320,26 +1320,7 @@ _git_clone ()
|
||||
{
|
||||
case "$cur" in
|
||||
--*)
|
||||
__gitcomp "
|
||||
--local
|
||||
--no-hardlinks
|
||||
--shared
|
||||
--reference
|
||||
--quiet
|
||||
--no-checkout
|
||||
--bare
|
||||
--mirror
|
||||
--origin
|
||||
--upload-pack
|
||||
--template=
|
||||
--depth
|
||||
--single-branch
|
||||
--no-tags
|
||||
--branch
|
||||
--recurse-submodules
|
||||
--no-single-branch
|
||||
--shallow-submodules
|
||||
"
|
||||
__gitcomp_builtin clone "--no-single-branch"
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user