]> git.ipfire.org Git - thirdparty/git.git/commit - builtin-fsck.c
fsck: fix broken loose object check.
authorJunio C Hamano <junkio@cox.net>
Mon, 5 Mar 2007 08:21:24 +0000 (00:21 -0800)
committerJunio C Hamano <junkio@cox.net>
Mon, 5 Mar 2007 08:55:19 +0000 (00:55 -0800)
commitefec43c028c52bc252afdaa586b46f83186d3eaa
treed1a7ee7c5224b049e330d610e4c296c7cd3d923a
parent5ced0572217f82f20c4a3460492768e07c08aeea
fsck: fix broken loose object check.

When "git fsck" without --full found a loose object missing
because it was broken, it mistakenly thought it was not parsed
because we found it in one of the packs.  Back when this code
was written, we did not have a way to explicitly check if we
have the object in pack, but we do now.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-fsck.c