| 82 | } |
| 83 | |
| 84 | static int objerror(struct repository *repo, struct object *obj, const char *err) |
| 85 | { |
| 86 | errors_found |= ERROR_OBJECT; |
| 87 | /* TRANSLATORS: e.g. error in tree 01bfda: <more explanation> */ |
| 88 | fprintf_ln(stderr, _("error in %s %s: %s"), |
| 89 | printable_type(repo, &obj->oid, obj->type), |
| 90 | describe_object(&obj->oid), err); |
| 91 | return -1; |
| 92 | } |
| 93 | |
| 94 | static int fsck_objects_error_func(struct fsck_options *o, |
| 95 | void *fsck_report, |
no test coverage detected