| 70 | } |
| 71 | |
| 72 | static void clear_distance(struct commit_list *list) |
| 73 | { |
| 74 | while (list) { |
| 75 | struct commit *commit = list->item; |
| 76 | commit->object.flags &= ~COUNTED; |
| 77 | list = list->next; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | define_commit_slab(commit_weight, int *); |
| 82 | static struct commit_weight commit_weight; |