]> granicus.if.org Git - git/commit
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>
Fri, 25 Oct 2019 03:23:55 +0000 (12:23 +0900)
commitf8fe4d610da00017ea4e131a38304a73f1113bea
tree7e74c2cdc03fbc2347bdc359d2338202c5348e89
parent2f8c0e4c42bcc8407ac26b4f97d4d90ac85bb372
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