Add the gitolite update hook
This commit is contained in:
parent
bfa2f9bb43
commit
2eee8a28fe
1 changed files with 4 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue