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