5 ms·
Hidden at the end of the changelog is the addition of the the new config entry: "core.hooksPath" which lets you specify globally or per repository where hooks s
by icefox 10y ago
Hidden at the end of the changelog is the addition of the the new config entry: "core.hooksPath" which lets you specify globally or per repository where hooks should point to.
In the Git-hooks project we have been using the init.templatedir which this replaces (as it is better), but for those that can't upgrade to 2.9 you can use init.templatedir and some variation of what Git-Hooks does to obtain similar results.
https://github.com/icefox/git-hooks/blob/master/git-hooks#L165 https://github.com/icefox/git-hooks/blob/master/git-hooks#L1...
- avar 10y agoSweet. I implemented that feature vaguely fearing that nobody except me was going to use it, in my case to ease setting up "auditing" hooks on a centralized Git server. Awesome that you find in useful.
- spb 10y agoOh man, excellent. I've wanted this feature in my [Plushu][] project for years: this will make my code significantly simpler. [Plushu]: http://comments.gmane.org/gmane.comp.version-control.git/253790 http://comments.gmane.org/gmane.comp.version-control.git/253...