On 08/11/2010 11:42, Senthil Kumaran wrote:
On Mon, Nov 08, 2010 at 11:55:39AM +0100, Łukasz Langa wrote:
Even if that commit hook prevents a single wrong commit a year, it's worth it. As unpaid volunteers, we don't have time for hunting the same mistakes twice.
For common mistakes, there are commit hooks which prevent you from committing wrongly indented code or rst files. This helps couple of times a year, but having commit-hooks for every other mistake may not be a good idea.
We can just customize our environments. It is easy.
Additional checks could be put in
make patchcheck or a local commit
hook for hg.
All the best,