1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

github #120: Update _git to reflect --recursive being an alias

`--recursive` and `--recurse-submodules` are aliased according to 99c33bed56/builtin/clone.c (L105)
This commit is contained in:
Semnodime 2024-05-29 06:33:55 +02:00 committed by Oliver Kiddle
parent 45f8ee1bee
commit 06e66b6b5a
2 changed files with 3 additions and 1 deletions

View file

@ -665,7 +665,6 @@ _git-clone () {
'(--single-branch)--no-single-branch[clone history leading up to each branch]' \
"--no-tags[don't clone any tags and make later fetches not follow them]" \
'--shallow-submodules[any cloned submodules will be shallow]' \
'--recursive[initialize all contained submodules]' \
'(--recursive --recurse-submodules)'{--recursive,--recurse-submodules}'=-[initialize submodules in the clone]::file:__git_files' \
'--separate-git-dir[place .git dir outside worktree]:path to .git dir:_path_files -/' \
\*--server-option='[send specified string to the server when using protocol version 2]:option' \