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

GIT_DIR not passed to script if hooksPath is set

2019-04-01 Thread Jan Ziak
Hello If git commit executes .git/hooks/post-commit it will pass GIT_DIR env variable to the script. However, if hooksPath is set in $HOME/.gitconfig, git commit executes hooksPath/post-commit without passing GIT_DIR env variable to the script. Expected behavior: GIT_DIR is passed to hooksPath/po

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

Re: git-gui: unstaged changes windowpane resets after unstaging a line

2019-04-01 Thread Jan Ziak
On Mon, 1 Apr 2019 at 08:40, Bert Wesarg wrote: > Could you try to come up with a recipe from an empty repository? $ cat a.sh #!/bin/bash set -e git init for((i=0; i<25; i++)); do echo line1 > file$i done git add file* git commit -m "initial commit" for((i=0; i<25; i++)); do echo line2 >>

Re: git-gui: unstaged changes windowpane resets after unstaging a line

2019-03-31 Thread Jan Ziak
On Sun, 31 Mar 2019 at 21:15, Bert Wesarg wrote: > > Hi Jan, > > On Sun, Mar 31, 2019 at 8:45 PM Jan Ziak <0xe2.0x9a.0...@gmail.com> wrote: > > > > Hello > > > > After performing "Unstage Line From Commit" action, the "Unstaged > &g

git-gui: searching for a matching regular expression in file contents

2019-03-31 Thread Jan Ziak
Hello git gui is missing a search functionality in the "Portions staged for commit" windowpane. Ctrl+F key combination currently has the same effect as the PageDown key. git version 2.21.0 Sincerely Jan

git-gui: unstaged changes windowpane resets after unstaging a line

2019-03-31 Thread Jan Ziak
Hello After performing "Unstage Line From Commit" action, the "Unstaged Changes" windowpane is reset. The reset does not happen with "Unstage Hunk From Commit" action. git version 2.21.0 Sincerely Jan