Re: [PATCH 23/23] midx: clear midx on repack

2018-06-22 Thread Derrick Stolee
On 6/9/2018 2:13 PM, Duy Nguyen wrote: On Thu, Jun 7, 2018 at 4:07 PM Derrick Stolee wrote: If a 'git repack' command replaces existing packfiles, then we must clear the existing multi-pack-index before moving the packfiles it references. I think there are other places where we add or remove

Re: [PATCH 23/23] midx: clear midx on repack

2018-06-09 Thread Duy Nguyen
On Thu, Jun 7, 2018 at 4:07 PM Derrick Stolee wrote: > > If a 'git repack' command replaces existing packfiles, then we must > clear the existing multi-pack-index before moving the packfiles it > references. I think there are other places where we add or remove pack files and need to

[PATCH 23/23] midx: clear midx on repack

2018-06-07 Thread Derrick Stolee
If a 'git repack' command replaces existing packfiles, then we must clear the existing multi-pack-index before moving the packfiles it references. Signed-off-by: Derrick Stolee --- builtin/repack.c | 8 midx.c | 8 midx.h | 1 + 3 files changed, 17