Stephan Beyer <s-beyer@xxxxxxx> writes: > Let us use the term "weight" for the number of ancestors > of each commit, and "distance" for the number > min{weight, #commits - weight}. (Bisect finds the commit > with maximum distance.) > > In these terms, "count_distance()" is the wrong name of > the function. So it is renamed to "compute_weight()", > and it also directly sets the computed weight. > > Signed-off-by: Stephan Beyer <s-beyer@xxxxxxx> > --- > bisect.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) Makes sense. We can think of the "distance" the distance from the periphery of the graph we are looking at, and "bisection" is to find a point close to the center of the graph. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html