aboutsummaryrefslogtreecommitdiff
path: root/git-update-superproject
diff options
context:
space:
mode:
Diffstat (limited to 'git-update-superproject')
-rwxr-xr-xgit-update-superproject1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-update-superproject b/git-update-superproject
index 0e49a01..75ad999 100755
--- a/git-update-superproject
+++ b/git-update-superproject
@@ -13,6 +13,7 @@ if [ ! -e ".git" ]; then
fi
# Run
+git fetch --all
git pull $* || exit 1
git submodule sync --recursive
git submodule update --recursive --init