aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCache Saravento <cache@sarava.org>2015-08-08 11:12:22 -0300
committerCache Saravento <cache@sarava.org>2015-08-08 11:12:22 -0300
commitdfe926e4e550690358a7ceb0e8e7e51fa15162da (patch)
treebce6d17c455857ca796992e5d6c7baddd0d48de0 /bin
parent5cd94fb5aecab52108cc799dfca3aa2df8ce3507 (diff)
downloadcache-dfe926e4e550690358a7ceb0e8e7e51fa15162da.tar.gz
cache-dfe926e4e550690358a7ceb0e8e7e51fa15162da.tar.bz2
Hooks: update submodules
Diffstat (limited to 'bin')
-rwxr-xr-xbin/post-receive1
-rwxr-xr-xbin/post-update2
2 files changed, 3 insertions, 0 deletions
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