| 192 | } |
| 193 | |
| 194 | static int want_recent_object(struct recent_data *data, |
| 195 | const struct object_id *oid) |
| 196 | { |
| 197 | if (data->ignore_in_core_kept_packs && |
| 198 | has_object_kept_pack(data->revs->repo, oid, KEPT_PACK_IN_CORE)) |
| 199 | return 0; |
| 200 | return 1; |
| 201 | } |
| 202 | |
| 203 | static int add_recent_object(const struct object_id *oid, |
| 204 | struct object_info *oi, |
no test coverage detected