]> gitweb.fluxo.info Git - utils-git.git/commitdiff
Exit if git-update-superproject cannot pull
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Nov 2017 11:20:57 +0000 (09:20 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Nov 2017 11:20:57 +0000 (09:20 -0200)
git-update-superproject

index d58d416320042d40a31fe243b04f7fe6efe25fa6..0e49a017f78796578aa7a1a08fdfffe77f62adc8 100755 (executable)
@@ -13,7 +13,7 @@ if [ ! -e ".git" ]; then
 fi
 
 # Run
-git pull $*
+git pull $* || exit 1
 git submodule sync   --recursive
 git submodule update --recursive --init
 git submodules-checkout-branch