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

Re: [PATCH 4/3] bisect: use a detached HEAD to bisect

From
Jon Loeliger <jdl@freescale.com>
Date
May 23, 2008, 15:14 UTC
Message-ID
<4836DF69.4060609@freescale.com>
In-Reply-To
<7v3ao9twfa.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 14 quoted lines
> Christian Couder <chriscool@tuxfamily.org> writes:
> 
>> When "git bisect" was first written, it was not possible to
>> checkout a detached HEAD. The detached feature appeared latter.
>> ...
>> This patch makes "git bisect" checkout revisions to be tested on
>> a detached HEAD. This simplifies the code a bit.
> 
> Yay!!
> 
> One potential worry/downside is "bisect visualize".  Because <bisect>
> branch was used for bisection, the _current_ commit has always been
> indicated with a label.  HEAD would not get any special label in gitk,
> would it?

Hrm. This seems like a potential issue to me as I occasionally do want to view where it is and possibly adjust it up or down a few commits depending on context.

Perhaps a "git bisect addfoo" sort of command is needed? The goal would be to "add some form of {branch,label,tag}" so it could be named, seen and possibly moved.

jdl
Previous: Christian CouderNext: Linus Torvalds
Message 4 of 10 in “bisect: use a detached HEAD to bisect”
  1. 4/3 bisect: use a detached HEAD to bisectChristian Couder, May 22, 2008
  2. Junio C HamanoMay 23, 2008
  3. Christian CouderMay 23, 2008
  4. Jon LoeligerMay 23, 2008
  5. Linus TorvaldsMay 23, 2008
  6. Paul MackerrasMay 24, 2008
  7. Linus TorvaldsMay 24, 2008
  8. Jeff KingMay 25, 2008
  9. Paul MackerrasMay 26, 2008
  10. Junio C HamanoMay 26, 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.