summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Hubbard <jhubbardsf@gmail.com>2023-10-28 04:37:50 -0400
committerGitHub <noreply@github.com>2023-10-28 10:37:50 +0200
commitcb86d378f287f1731cc6ad907f6248e35b52dc25 (patch)
tree3ea2a275404fc54e856ae7545e303b8ccc9e0e68
parent7733e3ab57ee3f666cf6f3e699d03b69aca2d373 (diff)
downloadzsh-cb86d378f287f1731cc6ad907f6248e35b52dc25.tar.gz
zsh-cb86d378f287f1731cc6ad907f6248e35b52dc25.tar.bz2
zsh-cb86d378f287f1731cc6ad907f6248e35b52dc25.zip
feat(git-auto-fetch): fetch also submodules (#12001)
-rw-r--r--plugins/git-auto-fetch/git-auto-fetch.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh b/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh
index 2df34bb7b..f8dfec759 100644
--- a/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh
+++ b/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh
@@ -29,7 +29,7 @@ function git-fetch-all {
date -R &>! "$gitdir/FETCH_LOG"
GIT_SSH_COMMAND="command ssh -o BatchMode=yes" \
GIT_TERMINAL_PROMPT=0 \
- command git fetch --all 2>/dev/null &>> "$gitdir/FETCH_LOG"
+ command git fetch --all --recurse-submodules=yes 2>/dev/null &>> "$gitdir/FETCH_LOG"
) &|
}