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

Function one_remote_object

http-push.c:727–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

725}
726
727static void one_remote_object(const struct object_id *oid)
728{
729 struct object *obj;
730
731 obj = lookup_object(the_repository, oid);
732 if (!obj)
733 obj = parse_object(the_repository, oid);
734
735 /* Ignore remote objects that don't exist locally */
736 if (!obj)
737 return;
738
739 obj->flags |= REMOTE;
740 if (!object_list_contains(objects, obj))
741 object_list_insert(obj, &objects);
742}
743
744static void handle_lockprop_ctx(struct xml_ctx *ctx, int tag_closed)
745{

Callers 1

process_ls_objectFunction · 0.85

Calls 4

lookup_objectFunction · 0.85
parse_objectFunction · 0.85
object_list_containsFunction · 0.85
object_list_insertFunction · 0.85

Tested by

no test coverage detected