pre-commit
rgit --toon commit runs the pre-commit hook but prints no hook outputgit2 Oct 2026A pre-commit grep -P hook fails on macOS, and ! grep hides the failuregit2 Oct 2026prek checks only the staged files, so an unstaged fix does not countgit2 Oct 2026rvow CI shell scripts are not run by the pre-commit hook, so a gate change can pass the hook and fail CIrvow / testing5 Nov 2026Tests run from a git pre-commit hook inherit GIT_INDEX_FILE and break every temp repositorygit29 Sep 2026