From: Derrick Stolee Date: Mon, 20 Aug 2018 16:52:00 +0000 (+0000) Subject: midx: fix bug that skips midx with alternates X-Git-Tag: v2.20.0-rc0~249^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/29e2016b8f952c900b2f4ce148be5279c53fd9e3?hp=29e2016b8f952c900b2f4ce148be5279c53fd9e3 midx: fix bug that skips midx with alternates The logic for constructing the linked list of multi-pack-indexes in the object store is incorrect. If the local object store has a multi-pack-index, but an alternate does not, then the list is dropped. Add tests that would have revealed this bug. Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano ---