Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support git 2.9's new hooksPath configuration variable #447

Closed
thegranddesign opened this issue Oct 24, 2016 · 1 comment
Closed

Support git 2.9's new hooksPath configuration variable #447

thegranddesign opened this issue Oct 24, 2016 · 1 comment

Comments

@thegranddesign
Copy link

In git 2.9, a new hooksPath configuration variable was added which is a perfect companion to overcommit. It lets you keep a common directory where hooks can reside and you never have to ever worry about keeping your hooks in sync between your repositories.

It seems as though a $REPO_ROOT/.git/hooks is hard coded where overcommit's hooks look for the base overcommit script.

I'd love to see support for overcommit looking to see if git's hooksPath configuration option was set and, if so, looking for the overcommit script in that location.

@thegranddesign
Copy link
Author

https://git-scm.com/docs/git-config and search for hooksPath

@sds sds closed this as completed in 543a418 Apr 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants