fsck: don't require object structs for display functions
commit82ef89b318a3c88a3e6af21a05b75abf56d715da
authorJeff King <peff@peff.net>
Fri, 18 Oct 2019 04:58:07 +0000 (18 00:58 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Oct 2019 05:05:18 +0000 (28 14:05 +0900)
treec8b0165d11aa28b77ec005c2d236ed75bb0b3b71
parent733902905d4db54612fef9755bb31fd35a89e76c
fsck: don't require object structs for display functions

Our printable_type() and describe_object() functions take whole object
structs, but they really only care about the oid and type. Let's take
those individually in order to give our callers more flexibility.

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