Re: git fsck not identifying corrupted packs
From: Matthieu Moy <hidden>
Date: 2016-06-15 22:47:35
"Wesley J. Landaker" [off-list ref] writes:
Until I read this thread, I didn't realize you needed --full to check objects in packs.
Same here.
- OPT_BOOLEAN(0, "full", &check_full, "also consider alternate objects"), + OPT_BOOLEAN(0, "full", &check_full, "also consider packs and alternate objects"),
IMHO, something like this should be applied to "maint", this is kind of a serious bug indeed. Just check the "alternate" thing, according to Junio: Junio C Hamano [off-list ref] writes:
Side note. I think the help description of --full option is wrong (or
at least stale). We always look at alternate object store these days
since e15ef66 (fsck: check loose objects from alternate object stores
by default, 2009-01-30). It probably should read "check packed
objects fully" or something.-- Matthieu Moy http://www-verimag.imag.fr/~moy/