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

Function bitmap_show_commit

midx-write.c:791–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

789}
790
791static void bitmap_show_commit(struct commit *commit, void *_data)
792{
793 struct bitmap_commit_cb *data = _data;
794 int pos = oid_pos(&commit->object.oid, data->ctx->entries,
795 data->ctx->entries_nr,
796 bitmap_oid_access);
797 if (pos < 0)
798 return;
799
800 commit_stack_push(data->commits, commit);
801}
802
803static int read_refs_snapshot(const char *refs_snapshot,
804 struct rev_info *revs)

Callers

nothing calls this directly

Calls 2

oid_posFunction · 0.85
commit_stack_pushFunction · 0.85

Tested by

no test coverage detected