threads / discuss / 45049

git-gui ignores core.hookspath

Subject: git-gui ignores core.hookspath

## tl;dr

One message between Feb 4, 2017 and Feb 4, 2017.

replies: 0people: 1as markdown or json

matthias.serfling· Feb 4, 2017, 17:14 UTC · lore

Hello, I’m running on

$ git --version --build-options git version 2.11.0.windows.3 built from commit: e11df2efb3072fe73153442589129d2eb8d9ea02 sizeof-long: 4 machine: x86_64

and trying to use core.hookspath with git-gui in my local repository in windows cmd shell $ cmd.exe /c ver Microsoft Windows [Version 6.1.7601] I have defined a pre-commit hook and set the path to it using core.hookspath, but when commiting in git gui it is not considered.

Commiting directly on the cmd shell using git commit -a -m "ndkfnj" it works perfectly.
Thanks for any advice or bugfix

← back to recent threads