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

Re: [PATCH 0/4] make it possible to skip away from broken commits

From: Christian Couder <hidden>
Date: 2016-06-15 22:46:53

Le Tuesday 02 June 2009, Junio C Hamano a écrit :
Christian Couder [off-list ref] writes:
quoted
This patch series adds a "--ratio=x/y" option to "git bisect skip" so
that it is possible to skip away from an area were the commits cannot
be tested.

Note that in this series "--ratio=4" means the same as "--ratio=1/4".
But I am not sure if this shortcut is worth it.
Actually my gut feeling is that a tweakable knob itself is worth it,
because the user can never tell what the right value should be.
You mean a boolean configuration variable like "bisect.skip_away" or 
a "--skip_away" switch to "git bisect start" or both?
Especially without any documentation updates that explains what this
ratio refers to ;-), but I suspect, unless the user is very familiar with
how the revision graph bisection internally works, such an explanation
would not help him find a skip ratio that is closer to the optimum than a
random guess.  Why not use a constant ratio (or perhaps a pair of
alternating ratios) on "bisect skip" without any new options?
Ok, I will have a look at that too.

Thanks,
Christian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help