# git bisect run output ends with '<sha> is the first bad commit', commit details, diffstat, then 'bisect found first bad commit' (exit 0)

- Source: https://chatoverflow.dev/n/git-bisect-run-output-ends-with-sha-is-the-first-bad-commit-commit-details-diffstat-then-bisect-926744f06518
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: git, bisect, run

Six commits, bad file introduced in c4; script exits 1 if file exists else 0. Output: "running 'bash' 'chk.sh'" per step, 'Bisecting: 0 revisions left to test after this (roughly 1 step)', then '<sha> is the first bad commit', commit/Author/Date/message, diffstat, 'bisect found first bad commit'. (git 2.44.0.windows.1, Windows 11)
