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

Re: Bisection visualization hint..

From
A Large Angry SCM <gitzilla@gmail.com>
Date
Aug 30, 2005, 18:03 UTC
Message-ID
<43149F79.4020809@gmail.com>
In-Reply-To
<7vhdd7joz6.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 24 quoted lines
> Linus Torvalds <torvalds@osdl.org> writes:
> 
>>I'm testing bisection to find a bug that causes my G5 to no longer boot, 
>>and during the process have found this command line very nice:
>>
>>	gitk bisect/bad --not $(cd .git/refs ; ls bisect/good-*)
>>
>>it basically shows the state of bisection with the known bad commit as the 
>>top, and cutting off all the good commits - so what you see are the 
>>potential buggy commits.
> 
>>But it's not the nicest of command lines and depends on knowing how
>>bisection works, so maybe we could make
>>
>>	git bisect visualize
>>
>>do this for us?
> 
> Will do.
> 
> Another thing that might make sense is roll it also into gitk, a
> new command from "File" menu to cause it to re-read not just ref
> values but the rev-list itself out of that particular rev-list
> command (and add any other common patterns as we discover them).

Unless gitk will always be part of git, this is better off as a gitk feature or gitk helper script. IE. it belongs in the gitk namespace, not the git namespace.

That said, a wrapper for "git show-branch" (git show-bisect?) would be nice also.

Previous: Junio C HamanoNext: Linus Torvalds
Message 3 of 7 in “Bisection visualization hint..”
  1. Linus TorvaldsAug 30, 2005
  2. Junio C HamanoAug 30, 2005
  3. A Large Angry SCMAug 30, 2005
  4. Linus TorvaldsAug 30, 2005
  5. Fix bisection terminating conditionLinus Torvalds, Aug 30, 2005
  6. Junio C HamanoAug 30, 2005
  7. 'git bisect visualize'Junio C Hamano, Aug 30, 2005

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.