Re: [PATCH v2] Run global hooks from the directory at hooks.dir

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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.

Re: [PATCH v2] Run global hooks from the directory at hooks.dir

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:49:59

Brian Collins wrote:
                                                    Using templates is not
ideal because it is system-wide and they still need to be renamed for every
clone or init.
Why do they have to be renamed?  And can we do better?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help