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

From: Kristoffer Haugsbakk

Date: Tue Oct 20 2026 - 14:45:21 EST


On Tue, Oct 20, 2026, at 20:10, Steven Rostedt wrote:
> Hi,
>
> I just want to let you folks know that ktest.pl (tools/testing/ktest/ in
> the Linux kernel repository) parses the output of git to display the first
> bad commit found in an automated git bisect.
>
> The output was recently updated via: 0c0f93e7fa64 ("bisect: print bisect
> terms in single quotes") which made ktest.pl fail to find the bad commit.
>
> The change is being addressed:
>
>
> https://lore.kernel.org/all/20261009-ktest-git-bisect-v1-1-1d1428f6cbf4@xxxxxxxxxxxx/
>
> But I figured it would be good for you to know about this dependency.

There were recent threads about how to
query for the first bad commit.

https://lore.kernel.org/git/asAbOSQ4BkuCTPY5@debian/

I had a recent script that I put on hold and didn't
finish. But it involved using exit codes and querying
for things like ref state. And maybe using
git rev-list --bisect.