diff options
author | Junio C Hamano <junkio@cox.net> | 2007-03-23 17:38:22 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-23 23:38:04 -0700 |
commit | 1c2c6112a4bf655faa768ddfca067945edf2809e (patch) | |
tree | 985973c2d5ac3611db6e25f702eecacf7cb41939 /builtin-rev-list.c | |
parent | bab36bf57d7a565e0077e1f5d2e3a10afa319ecc (diff) | |
parent | b08bbae7e1676e5a47fa9054e268ff14ee819a3a (diff) | |
download | git-1c2c6112a4bf655faa768ddfca067945edf2809e.tar.gz |
Merge branch 'master' into jc/bisect
This is to merge in the fix for path-limited bisection
from the 'master' branch.
Diffstat (limited to 'builtin-rev-list.c')
-rw-r--r-- | builtin-rev-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c index b395ffeb03..09e3a60bf6 100644 --- a/builtin-rev-list.c +++ b/builtin-rev-list.c @@ -182,9 +182,9 @@ static struct commit_list *find_bisection(struct commit_list *list, nr++; p = p->next; } - *all = nr; - closest = 0; + closest = -1; best = list; + *all = nr; for (p = list; p; p = p->next) { int distance, reach; |