# git-gui ignores core.hookspath

1 messages from 2017-02-04 to 2017-02-04. Participants: matthias.serfling.
Thread: https://gitlist.dev/t/45049

## matthias.serfling, 2017-02-04 17:14

Subject: git-gui ignores core.hookspath
Message-ID: <AEECE1EB-FF99-48C2-8072-D89D39EA7B9A@googlemail.com>
URL: https://gitlist.dev/e/AEECE1EB-FF99-48C2-8072-D89D39EA7B9A%40googlemail.com

```
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
```
