Skip to content

Commit 4304d3d

Browse files
pcloudsgitster
authored andcommitted
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>
1 parent 26e9095 commit 4304d3d

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

contrib/completion/git-completion.bash

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,26 +1320,7 @@ _git_clone ()
13201320
{
13211321
case "$cur" in
13221322
--*)
1323-
__gitcomp "
1324-
--local
1325-
--no-hardlinks
1326-
--shared
1327-
--reference
1328-
--quiet
1329-
--no-checkout
1330-
--bare
1331-
--mirror
1332-
--origin
1333-
--upload-pack
1334-
--template=
1335-
--depth
1336-
--single-branch
1337-
--no-tags
1338-
--branch
1339-
--recurse-submodules
1340-
--no-single-branch
1341-
--shallow-submodules
1342-
"
1323+
__gitcomp_builtin clone "--no-single-branch"
13431324
return
13441325
;;
13451326
esac

0 commit comments

Comments
 (0)