]> gitweb.fluxo.info Git - cache.git/commitdiff
Git hooks: recursive submodule update
authorCache Saravento <cache@sarava.org>
Sun, 9 Aug 2015 19:31:28 +0000 (16:31 -0300)
committerCache Saravento <cache@sarava.org>
Sun, 9 Aug 2015 19:31:28 +0000 (16:31 -0300)
bin/post-receive
bin/post-update

index 7411db551af90ca0777c00933d7b9d2e9bd037eb..996189df186c799b213d47979a6945ddcc6dbd9f 100755 (executable)
@@ -4,4 +4,4 @@ cd ..
 unset GIT_DIR
 
 git checkout -f
-git submodule update --init
+git submodule update --init --recursive
index 27e926a5c1812057f5df70c93b1ea699f1350886..48a6a16cb27970795e8d4455ac8f614344ac32e0 100755 (executable)
@@ -10,7 +10,7 @@ else
   git checkout -f
 fi
 
-git submodule update --init
+git submodule update --init --recursive
 
 cd -
 exec git update-server-info