Re: cloning/pulling hooks
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 29, 2007, 13:21 UTC
- Message-ID
- <Pine.LNX.4.64.0708291421060.28586@racer.site>
- In-Reply-To
- <200708291356.33126.andyparkins@gmail.com>
Hi,
On Wed, 29 Aug 2007, Andy Parkins wrote:
Show 13 quoted lines
> On Wednesday 2007 August 29, Petr Baudis wrote: > > > But overally, I'm still not convinced that there is a feasible use-case > > for the cloned hooks at all. Someone has a particular example? > > Hits me all the time. > > 1) Start a new project > 2) Install a pre-commit hook that checks that every patch meets some > arbitrary coding standard > 3) Clone to laptop > 4) Kick self the first time you make a commit that doesn't adhere to coding > standards that would have been enforced by the hook script.
For me it is
4) put the check into the Makefile where it belongs.
Ciao, Dscho