summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_git1
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6372bb05d..753353153 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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' \