fsck: don't require object structs for display functions
authorJeff King <redacted>
Fri, 18 Oct 2019 04:58:07 +0000 (00:58 -0400)
committerJunio C Hamano <redacted>
Mon, 28 Oct 2019 05:05:18 +0000 (14:05 +0900)
commit82ef89b318a3c88a3e6af21a05b75abf56d715da
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/fsck.c
git clone https://git.99rst.org/PROJECT