logoalt Hacker News

teaearlgraycoldtoday at 2:56 AM0 repliesview on HN

Without extra shenanigans if you have an unstaged file that fails your test suite then pre-commit will reject your commit even if the staged files are error free.