From: Chris Patti Date: Tue, 31 Aug 2010 21:14:57 GMT Subject: Re: Example git hooks (Re: Odd results writing a Git pre-receive hook to syntax check PHP files.) Message-ID: In-Reply-To: <20100830143411.GH2315@burratino> On Mon, Aug 30, 2010 at 10:34 AM, Jonathan Nieder wrote: > Chris Patti wrote: > >> (P.S. Is there a canonical 'example Git hooks' location I could >> publish this to when it's working? I think there's a dearth of this >> kind of example for people out there right now) > > Try the git wiki (git.wiki.kernel.org).  There is a page for aliases > but no page for example hooks yet (though there are some examples > under InterfacesFrontendsAndTools).  You could be the trailblazer. > > There are also a few examples in git templates/ and contrib/hooks, > of course. > This is sub optimal. We really need a central Git repo somewhere where people can just contribute the hooks they've written. I can certainly create a new page for my hook and paste the code in, but all the hooks that are currently up there are links to hooks hosted elsewhere, and I would rather not provide pointers to my personal domain/hosting because that could change without notice. Hrrm. -Chris -- Christopher Patti - Geek At Large | GTalk: cpatti@gmail.com | AIM: chrisfeohpatti | P: (260) 54PATTI "Technology challenges art, art inspires technology." - John Lasseter, Pixar