From 3aa8b0f53478b5eaa2d2bf5ef76140480d3f3440 Mon Sep 17 00:00:00 2001 From: Cache Saravento Date: Sun, 9 Aug 2015 16:31:28 -0300 Subject: Git hooks: recursive submodule update --- bin/post-receive | 2 +- bin/post-update | 2 +- 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 -- cgit v1.2.3