浏览代码

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

Josh Hubbard 6 月之前
父节点
当前提交
cb86d378f2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"
   ) &|
 }