Re: Is there any way to make hooks part of the repository?
- From
PJ Weisberg <pj@irregularexpressions.net>
- Date
- May 1, 2012, 21:59 UTC
- Message-ID
- <CAJsNXT=niP2Ja-pSbvj-OGi5t0x0-Zxm3CdcY0nLs9ROdCG8hg@mail.gmail.com>
- In-Reply-To
- <CAE1pOi00Mr4dOj2ChTJU9XWypUAaVUDDa36-M7LA+9BixW0nKw@mail.gmail.com>
On Tue, May 1, 2012 at 2:09 PM, Hilco Wijbenga <hilco.wijbenga@gmail.com> wrote:
Show 10 quoted lines
> On 1 May 2012 14:03, Junio C Hamano <gitster@pobox.com> 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?
-PJ
Gehm's Corollary to Clark's Law: Any technology distinguishable from magic is insufficiently advanced.