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

Re: git-gui: executed hooks are different from command-line git if hooksPath is set

From
Jan Ziak <0xe2.0x9a.0x9b@gmail.com>
Date
Apr 2, 2019, 23:35 UTC
Message-ID
<CAODFU0q9-02k_OtHh8+fo-rm8AxpmaE_fqiEhoS2cmfrxrim=A@mail.gmail.com>
In-Reply-To
<nycvar.QRO.7.76.6.1904012244520.41@tvgsbejvaqbjf.bet>

On Mon, 1 Apr 2019 at 22:46, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 7 quoted lines
> Could you give `master` of https://github.com/git-for-windows/git a try?
> (Despite the name, we aim to keep it functional on the same platforms as
> Git itself.)
>
> I am fairly certain that I fixed it there, and contributed a PR to the Git
> GUI project, but it seems that that project is in a kind of hibernating
> state right now.
Hello Johannes

You are right. git-gui.sh in `master` of https://github.com/git-for-windows/git is respecting the hooksPath specified in ~/.gitconfig.

Executing "git-for-windows/git rev-parse --git-path hooks/post-commit" as part of the process works fine but it seems a bit inefficient.

Sincerely Jan

Previous: Johannes Schindelin
Message 3 of 3 in “git-gui: executed hooks are different from command-line git if hooksPath is set”
  1. Jan ZiakApr 1, 2019
  2. Johannes SchindelinApr 1, 2019
  3. Jan ZiakApr 2, 2019

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.