Thread (3 messages) 3 messages, 3 authors, 2016-06-15

Re: Bisection visualization hint..

flat view

From: A Large Angry SCM <hidden>
Date: 2016-06-15 22:42:05

Junio C Hamano wrote:
Linus Torvalds [off-list ref] writes:
quoted
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.
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help