Re: cloning/pulling hooks
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Aug 29, 2007, 14:28 UTC
- Message-ID
- <200708291528.31599.andyparkins@gmail.com>
- In-Reply-To
- <Pine.LNX.4.64.0708291421060.28586@racer.site>
On Wednesday 2007 August 29, Johannes Schindelin wrote:
Show 10 quoted lines
> > 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