diff options
author | Cache Saravento <cache@sarava.org> | 2015-08-08 11:12:22 -0300 |
---|---|---|
committer | Cache Saravento <cache@sarava.org> | 2015-08-08 11:12:22 -0300 |
commit | dfe926e4e550690358a7ceb0e8e7e51fa15162da (patch) | |
tree | bce6d17c455857ca796992e5d6c7baddd0d48de0 /bin | |
parent | 5cd94fb5aecab52108cc799dfca3aa2df8ce3507 (diff) | |
download | cache-dfe926e4e550690358a7ceb0e8e7e51fa15162da.tar.gz cache-dfe926e4e550690358a7ceb0e8e7e51fa15162da.tar.bz2 |
Hooks: update submodules
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/post-receive | 1 | ||||
-rwxr-xr-x | bin/post-update | 2 |
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 |