MCPcopy Create free account
hub / github.com/git/git / objerror

Function objerror

builtin/fsck.c:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84static 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
94static int fsck_objects_error_func(struct fsck_options *o,
95 void *fsck_report,

Callers 3

mark_objectFunction · 0.85
fsck_objFunction · 0.85
fsck_cache_treeFunction · 0.85

Calls 3

fprintf_lnFunction · 0.85
printable_typeFunction · 0.85
describe_objectFunction · 0.85

Tested by

no test coverage detected