Re: FYI, git output messages are being used by other tooling

From: Andreas Schwab

Date: Wed Oct 21 2026 - 14:27:22 EST


On Okt 20 2026, Theodore Tso wrote:

> A structured output that contained the result of the "git bisect
> good|bad", and the first bad commit if it has been found, would be
> certainly be a more reliable way for automated git bisection harneses
> to rely upon. It'd be great if that was something that was in git
> 3.0.

gut rev-parse --bisect shows the bad and the good revisions.

git rev-list $(git rev-parse --bisect) | wc -l gives the number of revs
left to bisect.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."