Re: [PATCH 21/23] midx: prevent duplicate packfile loads

2018-06-09 Thread Duy Nguyen
On Thu, Jun 7, 2018 at 4:07 PM Derrick Stolee wrote: > > If the multi-pack-index contains a packfile, then we do not need to add > that packfile to the packed_git linked list or the MRU list. Because...? I think I see the reason, but I'd like it spelled out to avoid any misunderstanding. > >

[PATCH 21/23] midx: prevent duplicate packfile loads

2018-06-07 Thread Derrick Stolee
If the multi-pack-index contains a packfile, then we do not need to add that packfile to the packed_git linked list or the MRU list. Signed-off-by: Derrick Stolee --- midx.c | 23 +++ midx.h | 1 + packfile.c | 7 +++ 3 files changed, 31 insertions(+) diff