Re: [PATCH 11/23] midx: sort and deduplicate objects from packfiles

2018-06-21 Thread Derrick Stolee
On 6/9/2018 1:07 PM, Duy Nguyen wrote: On Thu, Jun 7, 2018 at 4:06 PM Derrick Stolee wrote: Before writing a list of objects and their offsets to a multi-pack-index (MIDX), we need to collect the list of objects contained in the packfiles. There may be multiple copies of some objects, so this

Re: [PATCH 11/23] midx: sort and deduplicate objects from packfiles

2018-06-09 Thread Duy Nguyen
On Thu, Jun 7, 2018 at 4:06 PM Derrick Stolee wrote: > > Before writing a list of objects and their offsets to a multi-pack-index > (MIDX), we need to collect the list of objects contained in the > packfiles. There may be multiple copies of some objects, so this list > must be deduplicated. Can

[PATCH 11/23] midx: sort and deduplicate objects from packfiles

2018-06-07 Thread Derrick Stolee
Before writing a list of objects and their offsets to a multi-pack-index (MIDX), we need to collect the list of objects contained in the packfiles. There may be multiple copies of some objects, so this list must be deduplicated. It is possible to artificially get into a state where there are many