| 3911 | } |
| 3912 | |
| 3913 | static struct commit *next_topo_commit(struct rev_info *revs) |
| 3914 | { |
| 3915 | struct commit *c; |
| 3916 | struct topo_walk_info *info = revs->topo_walk_info; |
| 3917 | |
| 3918 | /* pop next off of topo_queue */ |
| 3919 | c = prio_queue_get(&info->topo_queue); |
| 3920 | |
| 3921 | if (c) |
| 3922 | *(indegree_slab_at(&info->indegree, c)) = 0; |
| 3923 | |
| 3924 | return c; |
| 3925 | } |
| 3926 | |
| 3927 | static void expand_topo_walk(struct rev_info *revs, struct commit *commit) |
| 3928 | { |
no test coverage detected