From: Johannes Schindelin Date: Wed, 29 Aug 2007 13:21:41 GMT Subject: Re: cloning/pulling hooks Message-ID: In-Reply-To: <200708291356.33126.andyparkins@gmail.com> Hi, On Wed, 29 Aug 2007, Andy Parkins wrote: > 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