From: Jonathan Nieder Date: Fri, 02 Jul 2010 18:03:55 GMT Subject: Re: global hooks - once again Message-ID: <20100702180355.GA1770@burratino> In-Reply-To: Eugene Sajine wrote: > I have found a thread dated March 2008 about the subject, but there > was no acceptable solution provided. Link? > If there is no better way now Is it possible to create a git config > property specifying where the global hooks folder is and then look for > hooks there first and then in the repo or vice versa? Well, I like the idea[1]. The design issues are not very complicated; the main thing is to implement it. $ git grep -l -F -e 'hooks/' -- \*.c \*.sh \*.perl | egrep -v '^(contrib/(examples|hooks))|t/' builtin/commit.c builtin/init-db.c builtin/receive-pack.c git-am.sh git-cvsserver.perl git-rebase--interactive.sh git-rebase.sh run-command.c Hope that helps, Jonathan [1] e.g., for http://bugs.debian.org/514651