You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug env SHELL=cat git commit -m "test" runs git-hooks correctly, but gitui with a nonstandard shell doesn't
To Reproduce
0. go to repo with pre-commit hooks
env SHELL=cat gitui
create a commit
See error
see that env SHELL=cat git commit -m "test" works
Expected behavior
git-hooks should work even with a non-standard shell.
Screenshots
Context (please complete the following information):
OS/Distro + Version: [e.g. macOS 10.15.5] Linux
GitUI Version [e.g. 0.5] v0.27.0
Rust version: [e.g 1.44] 1.83.0
Additional context
Add any other context about the problem here.
I think /bin/sh or git var GIT_SHELL_PATH should be used. #2343 (comment)
We should probably do the same as in: GitoxideLabs/gitoxide@51bbb86
While this issue is a bit constructed, with SHELL=xonsh i have the problem that my pre-commit hooks do not get run. So this is a real problem users could be facing.
The text was updated successfully, but these errors were encountered:
Describe the bug
env SHELL=cat git commit -m "test"
runs git-hooks correctly, but gitui with a nonstandard shell doesn'tTo Reproduce
0. go to repo with pre-commit hooks
env SHELL=cat git commit -m "test"
worksExpected behavior
git-hooks should work even with a non-standard shell.
Screenshots
Context (please complete the following information):
macOS 10.15.5
] Linux0.5
] v0.27.01.44
] 1.83.0Additional context
Add any other context about the problem here.
I think /bin/sh or
git var GIT_SHELL_PATH
should be used.#2343 (comment)
We should probably do the same as in: GitoxideLabs/gitoxide@51bbb86
While this issue is a bit constructed, with
SHELL=xonsh
i have the problem that my pre-commit hooks do not get run. So this is a real problem users could be facing.The text was updated successfully, but these errors were encountered: