No need to install our hook ourself anymore
This commit is contained in:
parent
94578dfddd
commit
40536895b3
1 changed files with 6 additions and 6 deletions
|
@ -109,14 +109,14 @@ git push -q origin master
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
|
||||||
# Setup our update hooks
|
# Setup our update hooks
|
||||||
mkdir -p $GITROOT/$PACKAGE.git/hooks/update-chained.d
|
#mkdir -p $GITROOT/$PACKAGE.git/hooks/update-chained.d
|
||||||
ln -s /etc/gitolite/hooks/common/update \
|
#ln -s /etc/gitolite/hooks/common/update \
|
||||||
$GITROOT/$PACKAGE.git/hooks/update-chained.d/update-gitolite
|
# $GITROOT/$PACKAGE.git/hooks/update-chained.d/update-gitolite
|
||||||
ln -s /usr/share/git-core/update-block-push-origin \
|
#ln -s /usr/share/git-core/update-block-push-origin \
|
||||||
$GITROOT/$PACKAGE.git/hooks/update-chained.d/update-block-push-origin
|
# $GITROOT/$PACKAGE.git/hooks/update-chained.d/update-block-push-origin
|
||||||
|
|
||||||
# This one kicks off all the others in update-chained.d
|
# This one kicks off all the others in update-chained.d
|
||||||
ln -s /usr/share/git-core/update-chained $GITROOT/$PACKAGE.git/hooks/update
|
#ln -s /usr/share/git-core/update-chained $GITROOT/$PACKAGE.git/hooks/update
|
||||||
|
|
||||||
# Setup our post-receive hooks
|
# Setup our post-receive hooks
|
||||||
mkdir -p $GITROOT/$PACKAGE.git/hooks/post-receive-chained.d
|
mkdir -p $GITROOT/$PACKAGE.git/hooks/post-receive-chained.d
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue