aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCache Saravento <cache@sarava.org>2015-08-09 16:31:28 -0300
committerCache Saravento <cache@sarava.org>2015-08-09 16:31:28 -0300
commit3aa8b0f53478b5eaa2d2bf5ef76140480d3f3440 (patch)
treec26bd1314b2132fed52a9f70f3bfce02dae4d897
parent6bd1e0ee5854f6066fc9a2bb583c27ac802f5b6b (diff)
downloadcache-3aa8b0f53478b5eaa2d2bf5ef76140480d3f3440.tar.gz
cache-3aa8b0f53478b5eaa2d2bf5ef76140480d3f3440.tar.bz2
Git hooks: recursive submodule update
-rwxr-xr-xbin/post-receive2
-rwxr-xr-xbin/post-update2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/post-receive b/bin/post-receive
index 7411db5..996189d 100755
--- a/bin/post-receive
+++ b/bin/post-receive
@@ -4,4 +4,4 @@ cd ..
unset GIT_DIR
git checkout -f
-git submodule update --init
+git submodule update --init --recursive
diff --git a/bin/post-update b/bin/post-update
index 27e926a..48a6a16 100755
--- a/bin/post-update
+++ b/bin/post-update
@@ -10,7 +10,7 @@ else
git checkout -f
fi
-git submodule update --init
+git submodule update --init --recursive
cd -
exec git update-server-info