On Aug 31, 2015, at 11:46 AM, Warren Young <w...@etr-usa.com> wrote:
> 
> On Aug 31, 2015, at 11:39 AM, Stephan Beal <sgb...@googlemail.com> wrote:
>> 
>> Hooks are not just about emails, but about policy decisions. "Does this file 
>> conform to XYZ." A failure at that level is unrecoverable without changing 
>> the policy.
> 
> I think we can agree that using hooks to enforce, say, code formatting rules 
> is a bad idea.

I did a bit of Googling, and this blog article describes what seems to be a 
well thought out system for Git:

   
http://causes.github.io/blog/2013/05/30/overcommit-the-opinionated-git-hook-manager/

The key is doing the checks locally, rather than on the central repo server, 
and offering a way to bypass the checks at need.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to