From 79750fda6d38d01fd846f8886923b1406f86cc48 Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Sat, 24 Sep 2016 20:46:01 -0500 Subject: [PATCH] Pull latest submodules master commit when updating Instead of using `git submodule update`, that will keep the commit specified in the containing repository index. --- tools/zim_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/zim_update b/tools/zim_update index 2568725..ec422f0 100644 --- a/tools/zim_update +++ b/tools/zim_update @@ -8,4 +8,4 @@ cd ${ZDOTDIR:-${HOME}/.zim} git remote update -p git merge --ff-only @\{u\} # and update the submodules -git submodule update --init --recursive +git submodule foreach --quiet --recursive git pull origin master