From fa0002479b6487a0fc68c9caf391692c6b17100a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 30 Nov 2017 14:42:10 -0200 Subject: Fetch first at git-update-superproject git-checkout-branch --- git-update-superproject | 1 + 1 file changed, 1 insertion(+) (limited to 'git-update-superproject') 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 -- cgit v1.2.3