From 06e66b6b5af3778998aef0455aaaf6dfdf7e5145 Mon Sep 17 00:00:00 2001 From: Semnodime Date: Wed, 29 May 2024 06:33:55 +0200 Subject: 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 --- ChangeLog | 3 +++ Completion/Unix/Command/_git | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6372bb05d..753353153 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2024-08-31 Oliver Kiddle + * 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 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' \ -- cgit v1.2.3