Merge branch 'master' into jc/bisect
authorJunio C Hamano <junkio@cox.net>
Sat, 24 Mar 2007 00:38:22 +0000 (17:38 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 24 Mar 2007 06:38:04 +0000 (23:38 -0700)
This is to merge in the fix for path-limited bisection
from the 'master' branch.

1  2 
builtin-rev-list.c

@@@ -182,12 -180,11 +182,12 @@@ static struct commit_list *find_bisecti
                        nr++;
                p = p->next;
        }
-       *all = nr;
-       closest = 0;
+       closest = -1;
        best = list;
++      *all = nr;
  
        for (p = list; p; p = p->next) {
 -              int distance;
 +              int distance, reach;
  
                if (revs.prune_fn && !(p->item->object.flags & TREECHANGE))
                        continue;