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

Re: [RFC/PATCH 0/3] use '--bisect-refs' as bisect rev machinery option

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Nov 4, 2009, 18:32 UTC
Message-ID
<alpine.LFD.2.01.0911041030080.31845@localhost.localdomain>
In-Reply-To
<7vljimgnaz.fsf@alter.siamese.dyndns.org>
On Wed, 4 Nov 2009, Junio C Hamano wrote:
Show 14 quoted lines
> Christian Couder <chriscool@tuxfamily.org> writes:
> 
> > So I suggest to use '--bisect-refs' instead of '--bisect' as the new
> > bisect revision machinery option, because otherwise I think we get a
> > regression when we call "git rev-list --bisect BAD --not GOOD" and we
> > are already bisecting with bisect refs different than BAD and GOOD.
> > This also simplifies the code a little bit.
> 
> Just to make sure that I read you correctly, do you mean that Linus now
> would say:
> 
>     $ git bisect ...
>     ... inside bisect session
>     $ gitk --bisect-refs arch/x86

I'd really rather prefer to keep '--bisect' for that, it doesn't make sense to export '--bisect-refs' to be the user-visible switch, and then have '--bisect' as some internal switch just for 'git rev-list'.

In fact, I'd argue that the ne wbehavior of 'git rev-list' is to some degree _better_ (ie the existing bad/good ones are implicit while doing bisection).

Yes, it is a behavioral change, but is it a bad one?
			Linus
Previous: Junio C HamanoNext: Linus Torvalds
Message 6 of 11 in “use '--bisect-refs' as bisect rev machinery option”
  1. 0/3 use '--bisect-refs' as bisect rev machinery optionChristian Couder, Nov 4, 2009
  2. 1/3 t6030: show "rev-list --bisect" breakage when bisectingChristian Couder, Nov 4, 2009
  3. 2/3 revision: change '--bisect' rev machinery argument to 'bisect-refs'Christian Couder, Nov 4, 2009
  4. 3/3 bisect: simplify calling visualizer using '--bisect-refs'Christian Couder, Nov 4, 2009
  5. Junio C HamanoNov 4, 2009
  6. Linus TorvaldsNov 4, 2009
  7. Linus TorvaldsNov 4, 2009
  8. Junio C HamanoNov 4, 2009
  9. Christian CouderNov 4, 2009
  10. Junio C HamanoNov 4, 2009
  11. Christian CouderNov 5, 2009

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.