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