Re: [PATCH 18/23] midx: use midx in abbreviation calculations

2018-06-22 Thread Derrick Stolee
On 6/9/2018 2:01 PM, Duy Nguyen wrote: On Thu, Jun 7, 2018 at 4:06 PM Derrick Stolee wrote: @@ -565,8 +632,11 @@ static void find_abbrev_len_for_pack(struct packed_git *p, static void find_abbrev_len_packed(struct min_abbrev_data *mad) { + struct midxed_git *m; struct

Re: [PATCH 18/23] midx: use midx in abbreviation calculations

2018-06-09 Thread Duy Nguyen
On Thu, Jun 7, 2018 at 4:06 PM Derrick Stolee wrote: > @@ -565,8 +632,11 @@ static void find_abbrev_len_for_pack(struct packed_git > *p, > > static void find_abbrev_len_packed(struct min_abbrev_data *mad) > { > + struct midxed_git *m; > struct packed_git *p; > > + for (m =

[PATCH 18/23] midx: use midx in abbreviation calculations

2018-06-07 Thread Derrick Stolee
Signed-off-by: Derrick Stolee --- midx.c | 11 midx.h | 3 +++ packfile.c | 6 + packfile.h | 1 + sha1-name.c | 70 + t/t5319-midx.sh | 3 ++- 6 files changed, 93 insertions(+), 1 deletion(-) diff