Skip to content

Commit

Permalink
*autoload: Use pull --recurse-submodules instead of a git foreach
Browse files Browse the repository at this point in the history
Fixes #164
  • Loading branch information
psprint committed Sep 8, 2019
1 parent 9b43798 commit b307215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zplugin-autoload.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ ZPLGM[EXTENDED_GLOB]=""

[[ -d "$local_dir/.git" ]] && \
( builtin cd -q "$local_dir" # || return 1 - don't return, maybe it's some hook's logic
command git submodule foreach git pull origin master
command git pull --recurse-submodules
)

local -a log
Expand Down

0 comments on commit b307215

Please sign in to comment.