Re: [PATCH v2] Run global hooks from the directory at hooks.dir
From: Brian Collins <hidden>
Date: 2016-06-15 22:49:59
I'm not in favor of this change, as a number of alternatives were suggested in the thread you cite (Gmane: http://thread.gmane.org/gmane.comp.version-control.git/150141).
The alternatives suggested need to be applied individually to each repository. This can be problematic because you may want repository-specific scripts as well. Then when you update your global hooks you have to deal with merging with your repository-specific scripts. Using templates is not ideal because it is system-wide and they still need to be renamed for every clone or init.
A few hints, just in case you deploy this code:
Thanks, I have fixed those issues.