From 2eee8a28fe5fca3e9e8a52dd4f825e94e4854b83 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 23 Jan 2015 10:13:12 +0100 Subject: [PATCH] Add the gitolite update hook --- roles/distgit/files/setup_git_package | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/distgit/files/setup_git_package b/roles/distgit/files/setup_git_package index 3a9696e0a1..df76927300 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 \