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

Function update_refstatus

shallow.c:801–808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

799}
800
801static void update_refstatus(int *ref_status, size_t nr, uint32_t *bitmap)
802{
803 if (!ref_status)
804 return;
805 for (size_t i = 0; i < nr; i++)
806 if (bitmap[i / 32] & (1U << (i % 32)))
807 ref_status[i]++;
808}
809
810/*
811 * Step 7, reachability test on "ours" at commit level

Callers 1

post_assign_shallowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected