From dfe926e4e550690358a7ceb0e8e7e51fa15162da Mon Sep 17 00:00:00 2001 From: Cache Saravento Date: Sat, 8 Aug 2015 11:12:22 -0300 Subject: Hooks: update submodules --- bin/post-receive | 1 + bin/post-update | 2 ++ 2 files changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/post-receive b/bin/post-receive index 512b9fd..7411db5 100755 --- a/bin/post-receive +++ b/bin/post-receive @@ -4,3 +4,4 @@ cd .. unset GIT_DIR git checkout -f +git submodule update --init diff --git a/bin/post-update b/bin/post-update index beed524..27e926a 100755 --- a/bin/post-update +++ b/bin/post-update @@ -10,5 +10,7 @@ else git checkout -f fi +git submodule update --init + cd - exec git update-server-info -- cgit v1.2.3