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

Function test_flag_and_insert

revision.c:3726–3733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3724}
3725
3726static inline void test_flag_and_insert(struct prio_queue *q, struct commit *c, int flag)
3727{
3728 if (c->object.flags & flag)
3729 return;
3730
3731 c->object.flags |= flag;
3732 prio_queue_put(q, c);
3733}
3734
3735static void explore_walk_step(struct rev_info *revs)
3736{

Callers 3

explore_walk_stepFunction · 0.85
indegree_walk_stepFunction · 0.85
init_topo_walkFunction · 0.85

Calls 1

prio_queue_putFunction · 0.85

Tested by

no test coverage detected