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

Function finish_object

builtin/rev-list.c:366–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366static int finish_object(struct object *obj, const char *name, void *cb_data)
367{
368 struct rev_list_info *info = cb_data;
369 if (odb_read_object_info_extended(the_repository->objects,
370 &obj->oid, NULL, 0) < 0) {
371 finish_object__ma(obj, name);
372 return 1;
373 }
374 if (info->revs->verify_objects && !obj->parsed && obj->type != OBJ_COMMIT)
375 parse_object(the_repository, &obj->oid);
376 return 0;
377}
378
379static void show_object(struct object *obj, const char *name, void *cb_data)
380{

Callers 1

show_objectFunction · 0.85

Calls 3

finish_object__maFunction · 0.85
parse_objectFunction · 0.85

Tested by

no test coverage detected