From: Hilco Wijbenga Date: Tue, 01 May 2012 22:21:04 GMT Subject: Re: Is there any way to make hooks part of the repository? Message-ID: In-Reply-To: On 1 May 2012 14:59, PJ Weisberg wrote: > On Tue, May 1, 2012 at 2:09 PM, Hilco Wijbenga wrote: > >> On 1 May 2012 14:03, Junio C Hamano wrote: >> >>> We've talked about something like that a few times in the past, but as far >>> as I (am concerned / remember) the conclusion has always been that is not >>> worth "standardizing", i.e. nothing a ./setup script in-tree or a Makefile >>> target cannot offer the same convenience. >> >> This would not keep things up-to-date, though, would it? It seems like >> yet another thing developers need to remember and do. I would prefer >> something more automatic. > > Once your hooks are installed, couldn't your post-checkout and > post-merge hooks keep all the others up to date? Excellent point. Yes, that would certainly work.