From: Derrick Stolee Date: Mon, 20 Aug 2018 16:51:57 +0000 (+0000) Subject: midx: mark bad packed objects X-Git-Tag: v2.20.0-rc0~249^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c39b02ae0ae90b9fda353f87502ace9ba36db839?hp=c39b02ae0ae90b9fda353f87502ace9ba36db839 midx: mark bad packed objects When an object fails to decompress from a pack-file, we mark the object as 'bad' so we can retry with a different copy of the object (if such a copy exists). Before now, the multi-pack-index did not update the bad objects list for the pack-files it contains, and we did not check the bad objects list when reading an object. Now, do both. Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano ---