MCPcopy Index your code
hub / github.com/git/git / rev_list_insert_ref

Function rev_list_insert_ref

fetch-pack.c:182–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182static int rev_list_insert_ref(struct fetch_negotiator *negotiator,
183 const struct object_id *oid)
184{
185 struct commit *c = deref_without_lazy_fetch(oid, 0);
186
187 if (c)
188 negotiator->add_tip(negotiator, c);
189 return 0;
190}
191
192static int rev_list_insert_ref_oid(const struct reference *ref, void *cb_data)
193{

Callers 3

rev_list_insert_ref_oidFunction · 0.85
mark_tipsFunction · 0.85

Calls 1

deref_without_lazy_fetchFunction · 0.85

Tested by

no test coverage detected