]> git.ipfire.org Git - thirdparty/git.git/commit - fsck.c
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>
Mon, 28 Oct 2019 05:05:18 +0000 (14:05 +0900)
commit7854399366fa36854de8e6962a441b02009c10e4
tree931a717880c9677331001208ada8ae7b6c8ee161
parentb8b00f1693c149ba03e34d56d8804256e74f6eab
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