| 1138 | }; |
| 1139 | |
| 1140 | static void show_object(struct object *object, const char *name, void *data_) |
| 1141 | { |
| 1142 | struct bitmap_show_data *data = data_; |
| 1143 | int bitmap_pos; |
| 1144 | |
| 1145 | bitmap_pos = bitmap_position(data->bitmap_git, &object->oid); |
| 1146 | |
| 1147 | if (bitmap_pos < 0) |
| 1148 | bitmap_pos = ext_index_add_object(data->bitmap_git, object, |
| 1149 | name); |
| 1150 | |
| 1151 | bitmap_set(data->base, bitmap_pos); |
| 1152 | } |
| 1153 | |
| 1154 | static void show_commit(struct commit *commit UNUSED, |
| 1155 | void *data UNUSED) |
nothing calls this directly
no test coverage detected