]> granicus.if.org Git - git/commit
fsck: don't require an object struct for fsck_ident()
authorJeff King <peff@peff.net>
Fri, 18 Oct 2019 05:00:04 +0000 (01:00 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Oct 2019 03:23:55 +0000 (12:23 +0900)
commit2f8c0e4c42bcc8407ac26b4f97d4d90ac85bb372
tree931a717880c9677331001208ada8ae7b6c8ee161
parentf06d18112ffdf207c12d09fe5513f202ef35b32f
fsck: don't require an object struct for fsck_ident()

The only thing we do with the struct is pass its oid and type to
report(). We can just take those explicitly, which gives our callers
more flexibility.

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