]> granicus.if.org Git - git/commit
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>
Fri, 25 Oct 2019 03:23:55 +0000 (12:23 +0900)
commitf06d18112ffdf207c12d09fe5513f202ef35b32f
tree39a434976e6ee23fdcc486742127270792b1a96a
parent1c42a6e93a7be928d43974fa066a494c3cff064f
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