git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-gui ignores core.hookspath

From
Mmatthias.serfling <matthias.serfling@googlemail.com>
Date
Feb 4, 2017, 17:14 UTC
Message-ID
<AEECE1EB-FF99-48C2-8072-D89D39EA7B9A@googlemail.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
Message 1 of 1 in “git-gui ignores core.hookspath”
  1. matthias.serflingFeb 4, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.