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

Function show_commit

builtin/pack-objects.c:4391–4400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4389}
4390
4391static void show_commit(struct commit *commit, void *data UNUSED)
4392{
4393 add_object_entry(&commit->object.oid, OBJ_COMMIT, NULL, 0);
4394
4395 if (write_bitmap_index)
4396 index_commit_for_bitmap(commit);
4397
4398 if (use_delta_islands)
4399 propagate_island_marks(the_repository, commit);
4400}
4401
4402static void show_object(struct object *obj, const char *name,
4403 void *data UNUSED)

Callers

nothing calls this directly

Calls 3

add_object_entryFunction · 0.85
index_commit_for_bitmapFunction · 0.85
propagate_island_marksFunction · 0.85

Tested by

no test coverage detected