| 789 | } |
| 790 | |
| 791 | static 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 | |
| 803 | static int read_refs_snapshot(const char *refs_snapshot, |
| 804 | struct rev_info *revs) |
nothing calls this directly
no test coverage detected