cb86d378f287f1731cc6ad907f6248e35b52dc25

Author
Josh Hubbard <jhubbardsf@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

feat(git-auto-fetch): fetch also submodules (#12001)

Diff

 1diff --git a/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh b/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh
 2index 2df34bb7b581c51340cd48f9a41c5b1094e7b9ce..f8dfec75998e13ae60967258b8ee0a104aa68b3e 100644
 3--- a/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh
 4+++ b/plugins/git-auto-fetch/git-auto-fetch.plugin.zsh
 5@@ -29,7 +29,7 @@ function git-fetch-all {
 6     date -R &>! "$gitdir/FETCH_LOG"
 7     GIT_SSH_COMMAND="command ssh -o BatchMode=yes" \
 8     GIT_TERMINAL_PROMPT=0 \
 9-      command git fetch --all 2>/dev/null &>> "$gitdir/FETCH_LOG"
10+      command git fetch --all --recurse-submodules=yes 2>/dev/null &>> "$gitdir/FETCH_LOG"
11   ) &|
12 }
13