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

Function add_refs_to_oidset

fetch-pack.c:675–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673}
674
675static void add_refs_to_oidset(struct oidset *oids, struct ref *refs)
676{
677 for (; refs; refs = refs->next)
678 oidset_insert(oids, &refs->old_oid);
679}
680
681static int is_unmatched_ref(const struct ref *ref)
682{

Callers 1

filter_refsFunction · 0.85

Calls 1

oidset_insertFunction · 0.85

Tested by

no test coverage detected