git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH 1/2] bisect: add "git bisect replace" subcommand

From
Christian Couder <chriscool@tuxfamily.org>
Date
Nov 2, 2008, 11:20 UTC
Message-ID
<200811021220.09439.chriscool@tuxfamily.org>
In-Reply-To
<alpine.DEB.1.00.0811020515370.22125@pacific.mpi-cbg.de.mpi-cbg.de>
Hi,
Le dimanche 2 novembre 2008, Johannes Schindelin a écrit :
Show 14 quoted lines
> Hi,
>
> On Sun, 2 Nov 2008, Christian Couder wrote:
> > This new subcommand should be used when you have a branch or a part of
> > a branch that isn't easily bisectable because at some point, say A, a
> > bug as been introduced. The bug has been fixed latter at another point,
> > say B, but between these points the code is not easily testable because
> > of the bug, so it's not easy to bisect between these points.
>
> Would it not be more intuitive to have support for
>
> 	git bisect skip A..B
>
> ?

We can have both. "bisect skip" is about not being able or wanting to test some commits and "bisect replace" is about testing using fixed up branches (that you can share with others) instead of branches that you can't test.

When working on big projects where many people are often bisecting (like the Linux kernel), then having shared "bisect-replace" branches (and tags) might save a lot of time to all people bisecting, as they will not have to often skip the same commits or maintain sets of patches to apply when bisecting.

Thanks, Christian.

Previous: Johannes Schindelin
Message 3 of 3 in “bisect: add "git bisect replace" subcommand”
  1. 1/2 bisect: add "git bisect replace" subcommandChristian Couder, Nov 2, 2008
  2. Johannes SchindelinNov 2, 2008
  3. Christian CouderNov 2, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.