Closed
Description
Describe the bug
Pre-commit hook is ignored.
To Reproduce
Steps to reproduce the behavior:
mkdir .githooks && git config --local core.hooksPath .githooks
- Create
.githooks/pre-commit
withecho "Hook triggered" && exit 1
andchmod +x
it. git commit
now fails, as expected.gitui
ignores the hook.
Expected behavior
pre-commit
behaviour is the same when using git
CLI.
Screenshots
N/A.
Context (please complete the following information):
- OS/Distro + Version:
Debian 12
- GitUI Version:
gitui 0.25.2
- Rust version:
rustc 1.76.0
Additional context
Relates to: