MCPcopy Create free account
hub / github.com/git/git / compute_indegrees_to_depth

Function compute_indegrees_to_depth

revision.c:3810–3818  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3808}
3809
3810static void compute_indegrees_to_depth(struct rev_info *revs,
3811 timestamp_t gen_cutoff)
3812{
3813 struct topo_walk_info *info = revs->topo_walk_info;
3814 struct commit *c;
3815 while ((c = prio_queue_peek(&info->indegree_queue)) &&
3816 commit_graph_generation(c) >= gen_cutoff)
3817 indegree_walk_step(revs);
3818}
3819
3820static void release_revisions_topo_walk_info(struct topo_walk_info *info)
3821{

Callers 2

init_topo_walkFunction · 0.85
expand_topo_walkFunction · 0.85

Calls 3

prio_queue_peekFunction · 0.85
commit_graph_generationFunction · 0.85
indegree_walk_stepFunction · 0.85

Tested by

no test coverage detected