From: Andy Parkins Date: Wed, 29 Aug 2007 14:28:30 GMT Subject: Re: cloning/pulling hooks Message-ID: <200708291528.31599.andyparkins@gmail.com> In-Reply-To: On Wednesday 2007 August 29, Johannes Schindelin wrote: > > 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. I suppose you are right, the reason I pick the hook is because I don't mind having untidy code in the working tree but don't want it in the repository. Also, it was given as an example hook so I enabled it :-) Andy -- Dr Andy Parkins, M Eng (hons), MIET andyparkins@gmail.com