From 40536895b3adb547944a6200cf519e6c9e35495b Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 22 Jan 2015 15:39:11 +0100 Subject: [PATCH] No need to install our hook ourself anymore --- roles/distgit/files/setup_git_package | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/distgit/files/setup_git_package b/roles/distgit/files/setup_git_package index ec4f46a3ba..3a9696e0a1 100644 --- a/roles/distgit/files/setup_git_package +++ b/roles/distgit/files/setup_git_package @@ -109,14 +109,14 @@ git push -q origin master popd >/dev/null # Setup our update hooks -mkdir -p $GITROOT/$PACKAGE.git/hooks/update-chained.d -ln -s /etc/gitolite/hooks/common/update \ - $GITROOT/$PACKAGE.git/hooks/update-chained.d/update-gitolite -ln -s /usr/share/git-core/update-block-push-origin \ - $GITROOT/$PACKAGE.git/hooks/update-chained.d/update-block-push-origin +#mkdir -p $GITROOT/$PACKAGE.git/hooks/update-chained.d +#ln -s /etc/gitolite/hooks/common/update \ +# $GITROOT/$PACKAGE.git/hooks/update-chained.d/update-gitolite +#ln -s /usr/share/git-core/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 -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 mkdir -p $GITROOT/$PACKAGE.git/hooks/post-receive-chained.d