| 2730 | } |
| 2731 | |
| 2732 | static void test_show_commit(struct commit *commit, void *data) |
| 2733 | { |
| 2734 | struct bitmap_test_data *tdata = data; |
| 2735 | int bitmap_pos; |
| 2736 | |
| 2737 | bitmap_pos = bitmap_position(tdata->bitmap_git, |
| 2738 | &commit->object.oid); |
| 2739 | if (bitmap_pos < 0) |
| 2740 | die(_("object not in bitmap: '%s'"), oid_to_hex(&commit->object.oid)); |
| 2741 | test_bitmap_type(tdata, &commit->object, bitmap_pos); |
| 2742 | |
| 2743 | bitmap_set(tdata->base, bitmap_pos); |
| 2744 | display_progress(tdata->prg, ++tdata->seen); |
| 2745 | } |
| 2746 | |
| 2747 | static uint32_t bitmap_total_entry_count(struct bitmap_index *bitmap_git) |
| 2748 | { |
nothing calls this directly
no test coverage detected