From 40198dcca5e3b4a73adda37520c0c66709beb908 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 Aug 2015 16:33:01 -0300 Subject: Git hooks: recursive submodule update --- ikiwiki/bin/post-receive | 2 +- ikiwiki/bin/post-update | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3