]> git.ipfire.org Git - thirdparty/git.git/commit - fsck.c
fsck: don't require an object struct in verify_headers()
authorJeff King <peff@peff.net>
Fri, 18 Oct 2019 05:00:50 +0000 (01:00 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Oct 2019 05:05:18 +0000 (14:05 +0900)
commitcc579000bf289cea7f9c2e34fcb9cf67e8104616
tree7e74c2cdc03fbc2347bdc359d2338202c5348e89
parent7854399366fa36854de8e6962a441b02009c10e4
fsck: don't require an object struct in verify_headers()

We only need the oid and type to pass on to report(). Let's accept the
broken-out parameters to give our callers more flexibility.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsck.c