1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-24 17:21:08 +02: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

@ -1,5 +1,8 @@
2024-08-31 Oliver Kiddle <opk@zsh.org>
* github #120: Semnodime: Completion/Unix/Command/_git: update
_git to reflect `--recursive` being an alias
* 53058: Completion/Unix/Command/_zstd: new completion for zstd
* 53057: Completion/Zsh/Context/_equal: complete glob qualifiers

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' \