diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-09 16:33:01 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-09 16:33:01 -0300 |
commit | 40198dcca5e3b4a73adda37520c0c66709beb908 (patch) | |
tree | 9f9bdea968012a5cf46518969d320fae4844e666 /ikiwiki | |
parent | d18d55d0c42c2e12739ff96627a28d34955fe83e (diff) | |
download | templates-40198dcca5e3b4a73adda37520c0c66709beb908.tar.gz templates-40198dcca5e3b4a73adda37520c0c66709beb908.tar.bz2 |
Git hooks: recursive submodule update
Diffstat (limited to 'ikiwiki')
-rwxr-xr-x | ikiwiki/bin/post-receive | 2 | ||||
-rwxr-xr-x | ikiwiki/bin/post-update | 2 |
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 |