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

2019-04-02 Thread Jan Ziak
On Mon, 1 Apr 2019 at 22:46, Johannes Schindelin wrote: > 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 Gi

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

2019-04-01 Thread Johannes Schindelin
Hi Jan, On Mon, 1 Apr 2019, Jan Ziak wrote: > Command-line "git commit" and graphical "git gui" commit are invoking > different hooks if hooksPath is set in $HOME/.gitconfig. > > Namely, in my case command-line "git commit" runs > "/home/atom/dev/git-hooks/post-commit" - while "git gui" commit ru

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

2019-04-01 Thread Jan Ziak
Hello Command-line "git commit" and graphical "git gui" commit are invoking different hooks if hooksPath is set in $HOME/.gitconfig. Namely, in my case command-line "git commit" runs "/home/atom/dev/git-hooks/post-commit" - while "git gui" commit runs ".git/hooks/post-commit". Please run the att