]> git.ipfire.org Git - thirdparty/git.git/commit - fsck.c
fsck: drop blob struct from fsck_finish()
authorJeff King <peff@peff.net>
Fri, 18 Oct 2019 04:59:54 +0000 (00:59 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Oct 2019 05:05:18 +0000 (14:05 +0900)
commitb8b00f1693c149ba03e34d56d8804256e74f6eab
tree39a434976e6ee23fdcc486742127270792b1a96a
parent6da40b22cae536211abcb943ff4f316e9129fcc9
fsck: drop blob struct from fsck_finish()

Since fsck_blob() no longer requires us to have a "struct blob", we
don't need to create one. Which also means we don't need to worry about
handling the case that lookup_blob() returns NULL (we'll still catch
wrongly-identified blobs when we read the actual object contents and
type from disk).

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