GitPython
GitPython copied to clipboard
Commit hooks don't respect core.hooksPath in config.
Commit hooks are more-or-less hardcoded to use hooks found in .git/hooks. This means that specifying core.hooksPath in any git config file (i.e. /etc/gitconfig, ~/.gitconfig, ~/git/config, $REPO/.git/config) has no effect. Is this by design?
Thanks for reporting and raising awareness.
This clearly is a shortcoming, and it's likely that this configuration value didn't exist when this code was written.