Re: [PATCH] bisect reset: Allow resetting to any commit, not just a branch

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] bisect reset: Allow resetting to any commit, not just a branch

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:32

Johannes Sixt [off-list ref] writes:
In my workflow, after I've found the bad commit, I always want bisect to
stay at the commit that it found. I don't want it to warp me somewhere
else; I want to make the decision where to go next myself.
Are you sure about what you are saying?

Half of the time, the commit you test in your "git bisect" section would
be a "good" one, and immediately after you tell it "bisect good", it tells
you that some _other_ commit you marked "bad" is the first bad commit.  In
such a case, you won't be on the commit that the bisect has found.

So I _do_ agree that you would always want to stare at the commit that is
the first bad one, leaving the bisection session at the detached HEAD
state bisection session ends at is _totally_ different from what you want.

Re: [PATCH] bisect reset: Allow resetting to any commit, not just a branch

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:47:32

Junio C Hamano schrieb:
Half of the time, the commit you test in your "git bisect" section would
be a "good" one, and immediately after you tell it "bisect good", it tells
you that some _other_ commit you marked "bad" is the first bad commit.  In
such a case, you won't be on the commit that the bisect has found.
Oh, yes, very true; but it is very close. But the commit that git bisect
reset warps me to is perhaps 1000 steps in history away. I certainly do
not want to go there, ever, because I want to go back near the bad commit
right away. (Think of fewer files changed means less build time.) If git
bisect reset would check out the bad commit, this would be *very* convenient.

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help