Browse Source

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

Josh Hubbard 6 months ago
parent
commit
cb86d378f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/git-auto-fetch/git-auto-fetch.plugin.zsh

+ 1 - 1
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"
   ) &|
 }