diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-11-23 16:16:44 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-11-23 16:16:44 -0200 |
commit | 701ed3bfec821058ee1159f3b4a09a32941e9393 (patch) | |
tree | 643527a25c1e02991b3664a71735ac41c22bcca2 /bin/post-receive | |
parent | 4a684e7a7f43c23715a3e3710144c3df25269d3f (diff) | |
download | puppet-bootstrap-701ed3bfec821058ee1159f3b4a09a32941e9393.tar.gz puppet-bootstrap-701ed3bfec821058ee1159f3b4a09a32941e9393.tar.bz2 |
Removes post-update hook
Diffstat (limited to 'bin/post-receive')
-rwxr-xr-x | bin/post-receive | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/post-receive b/bin/post-receive index 996189d..48a6a16 100755 --- a/bin/post-receive +++ b/bin/post-receive @@ -3,5 +3,14 @@ cd .. unset GIT_DIR -git checkout -f +if [ -d ".git/annex" ]; then + git annex sync +else + git reset HEAD + git checkout -f +fi + git submodule update --init --recursive + +cd - +exec git update-server-info |