aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-09 16:33:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-09 16:33:01 -0300
commit40198dcca5e3b4a73adda37520c0c66709beb908 (patch)
tree9f9bdea968012a5cf46518969d320fae4844e666 /ikiwiki
parentd18d55d0c42c2e12739ff96627a28d34955fe83e (diff)
downloadtemplates-40198dcca5e3b4a73adda37520c0c66709beb908.tar.gz
templates-40198dcca5e3b4a73adda37520c0c66709beb908.tar.bz2
Git hooks: recursive submodule update
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki/bin/post-receive2
-rwxr-xr-xikiwiki/bin/post-update2
2 files changed, 3 insertions, 1 deletions
diff --git a/ikiwiki/bin/post-receive b/ikiwiki/bin/post-receive
index 7411db5..996189d 100755
--- a/ikiwiki/bin/post-receive
+++ b/ikiwiki/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/ikiwiki/bin/post-update b/ikiwiki/bin/post-update
index beed524..48a6a16 100755
--- a/ikiwiki/bin/post-update
+++ b/ikiwiki/bin/post-update
@@ -10,5 +10,7 @@ else
git checkout -f
fi
+git submodule update --init --recursive
+
cd -
exec git update-server-info