]> granicus.if.org Git - git/commit
fsck: accept an oid instead of a "struct blob" for fsck_blob()
authorJeff King <peff@peff.net>
Fri, 18 Oct 2019 04:59:29 +0000 (00:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Oct 2019 03:23:55 +0000 (12:23 +0900)
commit1c42a6e93a7be928d43974fa066a494c3cff064f
treeebac678d8a44e2802a3c30b8cce1a1c75c636bf1
parent3fe5fe3fe71c25049eaed581ec6d9319387be5d0
fsck: accept an oid instead of a "struct blob" for fsck_blob()

We don't actually need any information from the object struct except its
oid (and the type, of course, but that's implicitly OBJ_BLOB). This
gives our callers more flexibility to drop the object structs, too.

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