mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com>
To: "Theodore Tso" <tytso@mit.edu>
Cc: "Steven Rostedt" <rostedt@goodmis.org>,
	"Junio C Hamano" <gitster@pobox.com>,
	git@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
	"Jonas Rebmann" <kernel@schlaraffenlan.de>,
	"Ricardo B. Marlière (SUSE)" <ricardo@marliere.net>
Subject: Re: FYI, git output messages are being used by other tooling
Date: Wed, 21 Oct 2026 19:53:27 +0200	[thread overview]
Message-ID: <e1b21ca4-fe77-4aae-8135-a25397efee04@app.fastmail.com> (raw)
In-Reply-To: <atfmYYtUii4gWIIH@mit.edu>

On Wed, Oct 21, 2026, at 00:48, Theodore Tso wrote:
> On Tue, Oct 20, 2026 at 09:28:10PM -0500, Kristoffer Haugsbakk wrote:
>> > Where returning 0 means the bad commit has been found.
>> > Otherwise it keeps looping.
>>
>> Is this different from git bisect run?
>
> "git bisect run" isn't always the best way to manage a bisection.  For
> example, I might run a command like:
>
>    gce-xfstests ltm -c ext4/4k,ext4/1k  generic/245 --repo stable-gc.git \
>        --bisect-good v6.18.57 --bisect-bad queue/6.18
>
>[snip]

Thanks for the example. :)

>
> So yeah.  Sometimes "git bisect run" isn't really enough, and it would
> be useful to have a way for programs to be able to call other "git
> bisect" subcommands, and have a standardized way to get the results
> from the command without having to just parse the output and be
> dependant on the precise format of the human-readable output.

Yeah, I don’t know about git-bisect(1) subcommands but the `git rev-list
--bisect*` options showed some promise when I tried them.[1] But the
most useful property turned out to be the most annoying thing to figure
out for me: how to simply query for whether we have found the first bad
commit yet or not.

But maybe that was because I botched the bad/good setup.

† 1: Like for `--bisect-vars`: if it turns out that it is *missing*
     some useful vars then those could be added without worrying about
     backwards compatibility.

  reply	other threads:[~2026-10-21 17:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-20 18:10 Steven Rostedt
2026-10-20 18:37 ` Junio C Hamano
2026-10-20 18:52   ` Steven Rostedt
2026-10-20 19:09   ` Theodore Tso
2026-10-21 17:19     ` Junio C Hamano
2026-10-21 18:26     ` Andreas Schwab
2026-10-20 19:23   ` Steven Rostedt
2026-10-20 19:28     ` Kristoffer Haugsbakk
2026-10-20 19:33       ` Steven Rostedt
2026-10-20 22:48       ` Theodore Tso
2026-10-21 17:53         ` Kristoffer Haugsbakk [this message]
2026-10-20 18:44 ` Kristoffer Haugsbakk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e1b21ca4-fe77-4aae-8135-a25397efee04@app.fastmail.com \
    --to=kristofferhaugsbakk@fastmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=kernel@schlaraffenlan.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ricardo@marliere.net \
    --cc=rostedt@goodmis.org \
    --cc=tytso@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®