| 2714 | } |
| 2715 | |
| 2716 | static void test_show_object(struct object *object, |
| 2717 | const char *name UNUSED, |
| 2718 | void *data) |
| 2719 | { |
| 2720 | struct bitmap_test_data *tdata = data; |
| 2721 | int bitmap_pos; |
| 2722 | |
| 2723 | bitmap_pos = bitmap_position(tdata->bitmap_git, &object->oid); |
| 2724 | if (bitmap_pos < 0) |
| 2725 | die(_("object not in bitmap: '%s'"), oid_to_hex(&object->oid)); |
| 2726 | test_bitmap_type(tdata, object, bitmap_pos); |
| 2727 | |
| 2728 | bitmap_set(tdata->base, bitmap_pos); |
| 2729 | display_progress(tdata->prg, ++tdata->seen); |
| 2730 | } |
| 2731 | |
| 2732 | static void test_show_commit(struct commit *commit, void *data) |
| 2733 | { |
nothing calls this directly
no test coverage detected