diff options
author | Semnodime <Semnodime@users.noreply.github.com> | 2024-05-29 06:33:55 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2024-08-31 12:09:26 +0200 |
commit | 06e66b6b5af3778998aef0455aaaf6dfdf7e5145 (patch) | |
tree | a7dba03c880b0d1a6e6fc0f1460ecfb0699ed97e /Completion | |
parent | 45f8ee1bee16115f5fc0f62d937e66c9b69ec548 (diff) | |
download | zsh-06e66b6b5af3778998aef0455aaaf6dfdf7e5145.tar.gz zsh-06e66b6b5af3778998aef0455aaaf6dfdf7e5145.tar.xz zsh-06e66b6b5af3778998aef0455aaaf6dfdf7e5145.zip |
github #120: Update _git to reflect `--recursive` being an alias
`--recursive` and `--recurse-submodules` are aliased according to https://github.com/git/git/blob/99c33bed562b41de6ce9bd3fd561303d39645048/builtin/clone.c#L105
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_git | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 6c6d59b24..86b8a7455 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -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' \ |