Community
Participate
Working Groups
I have project-specific pre-commit hooks working, running from the $GIT_DIR/hooks (ie project/.git/hooks) directory. However, if I specify the Git configuration variable core.hooksPath (either in User Settings or System Settings), its value is ignored, and Egit continues to look only in the project's own .git/hooks directory instead.
core.hooksPath isn't yet supported by JGit Maybe you want to contribute that ?
*** Bug 547618 has been marked as a duplicate of this bug. ***
*** Bug 550954 has been marked as a duplicate of this bug. ***
New Gerrit change created: https://git.eclipse.org/r/149912
Gerrit change https://git.eclipse.org/r/149912 was merged to [master]. Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=385b503ae8635ddb4233c9ae1f2d472a51609162
core.hooksPath is implemented now, but note that calling hooks on Windows is not fully implemented yet (only for Cygwin). See bug 537036 for that.