News for hackers. Stuff that matters.
Re:Yipit Django Blog: Why You Need a Git Pre-Commit Hook by danssig on Thursday November 17, 2011 @08:10AM (#3247496)
Personally, I find pre-commit hooks to be a throw-back to older RCSes. For modern systems like Git I would prefer to have a pre-merge hook. That is to say, commit any old crap you want to your local branch but you're not merging with the main development branch until your code is proven to pass the test suite. And only code that is in the mainline dev branch can be merged to main, etc.

There are no comments on this comment yet.