summaryrefslogtreecommitdiffstats
path: root/roles/distgit
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2015-01-23 10:13:12 +0100
committerPierre-Yves Chibon <pingou@pingoured.fr>2015-01-23 10:13:12 +0100
commit2eee8a28fe5fca3e9e8a52dd4f825e94e4854b83 (patch)
tree0347238777a47fb2f8b9a4797143f8ca2892399f /roles/distgit
parentbfa2f9bb436715fc919b943a57deb157adaee8c8 (diff)
Add the gitolite update hook
Diffstat (limited to 'roles/distgit')
-rw-r--r--roles/distgit/files/setup_git_package4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/distgit/files/setup_git_package b/roles/distgit/files/setup_git_package
index 3a9696e0a..df7692730 100644
--- a/roles/distgit/files/setup_git_package
+++ b/roles/distgit/files/setup_git_package
@@ -118,6 +118,10 @@ popd >/dev/null
# This one kicks off all the others in update-chained.d
#ln -s /usr/share/git-core/update-chained $GITROOT/$PACKAGE.git/hooks/update
+# Place the gitolite update hook in place since we're not using our own
+ln -s /etc/gitolite/hooks/common/update $GITROOT/$PACKAGE.git/hooks/update
+
+
# Setup our post-receive hooks
mkdir -p $GITROOT/$PACKAGE.git/hooks/post-receive-chained.d
ln -s /usr/share/git-core/mail-hooks/gnome-post-receive-email \