| 324 | } |
| 325 | |
| 326 | int refs_fsck_ref(struct ref_store *refs UNUSED, struct fsck_options *o, |
| 327 | struct fsck_ref_report *report, |
| 328 | const char *refname UNUSED, const struct object_id *oid) |
| 329 | { |
| 330 | if (is_null_oid(oid)) |
| 331 | return fsck_report_ref(o, report, FSCK_MSG_BAD_REF_OID, |
| 332 | "points to invalid object ID '%s'", |
| 333 | oid_to_hex(oid)); |
| 334 | |
| 335 | return 0; |
| 336 | } |
| 337 | |
| 338 | int refs_fsck_symref(struct ref_store *refs UNUSED, struct fsck_options *o, |
| 339 | struct fsck_ref_report *report, |
no test coverage detected