Add the gitolite update hook

This commit is contained in:
Pierre-Yves Chibon 2015-01-23 10:13:12 +01:00
parent bfa2f9bb43
commit 2eee8a28fe

View file

@ -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 \