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

Function report

fsck.c:260–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260__attribute__((format (printf, 5, 6)))
261static int report(struct fsck_options *options,
262 const struct object_id *oid, enum object_type object_type,
263 enum fsck_msg_id msg_id, const char *fmt, ...)
264{
265 va_list ap;
266 struct fsck_object_report report = {
267 .oid = oid,
268 .object_type = object_type
269 };
270 int result;
271
272 if (object_on_skiplist(options, oid))
273 return 0;
274
275 va_start(ap, fmt);
276 result = fsck_vreport(options, &report, msg_id, fmt, ap);
277 va_end(ap);
278
279 return result;
280}
281
282int fsck_report_ref(struct fsck_options *options,
283 struct fsck_ref_report *report,

Callers 10

fsck_treeFunction · 0.70
verify_headersFunction · 0.70
fsck_identFunction · 0.70
fsck_commitFunction · 0.70
fsck_tag_standaloneFunction · 0.70
fsck_gitmodules_fnFunction · 0.70
fsck_blobFunction · 0.70
fsck_objectFunction · 0.70
fsck_bufferFunction · 0.70
fsck_blobsFunction · 0.70

Calls 2

object_on_skiplistFunction · 0.85
fsck_vreportFunction · 0.85

Tested by

no test coverage detected