| 4709 | } |
| 4710 | |
| 4711 | static int mark_bitmap_preferred_tip(const struct reference *ref, void *data UNUSED) |
| 4712 | { |
| 4713 | const struct object_id *maybe_peeled = ref->oid; |
| 4714 | struct object_id peeled; |
| 4715 | struct object *object; |
| 4716 | |
| 4717 | if (!reference_get_peeled_oid(the_repository, ref, &peeled)) |
| 4718 | maybe_peeled = &peeled; |
| 4719 | |
| 4720 | object = parse_object_or_die(the_repository, maybe_peeled, ref->name); |
| 4721 | if (object->type == OBJ_COMMIT) |
| 4722 | object->flags |= NEEDS_BITMAP; |
| 4723 | |
| 4724 | return 0; |
| 4725 | } |
| 4726 | |
| 4727 | static inline int is_oid_uninteresting(struct repository *repo, |
| 4728 | struct object_id *oid) |
nothing calls this directly
no test coverage detected