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

Function lookup_unknown_object

object.c:185–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185struct object *lookup_unknown_object(struct repository *r, const struct object_id *oid)
186{
187 struct object *obj = lookup_object(r, oid);
188 if (!obj)
189 obj = create_object(r, oid, alloc_object_node(r));
190 return obj;
191}
192
193struct object *lookup_object_by_type(struct repository *r,
194 const struct object_id *oid,

Callers 8

mark_our_refFunction · 0.85
one_remote_refFunction · 0.85
mark_uninterestingFunction · 0.85
peel_object_extFunction · 0.85
walker_fetchFunction · 0.85
emit_blockFunction · 0.85

Calls 3

lookup_objectFunction · 0.85
create_objectFunction · 0.85
alloc_object_nodeFunction · 0.85

Tested by 2

emit_blockFunction · 0.68