Re: [PATCH v2 4/5] split-index: don't compare stat data of entries already marked for split index

2018-09-27 Thread SZEDER Gábor
On Thu, Sep 27, 2018 at 02:44:33PM +0200, SZEDER Gábor wrote: > split-index.c | 79 --- > 1 file changed, 62 insertions(+), 17 deletions(-) I generated this patch with more context lines than usual, so the two conditions that I didn't add any

[PATCH v2 4/5] split-index: don't compare stat data of entries already marked for split index

2018-09-27 Thread SZEDER Gábor
When unpack_trees() constructs a new index, it copies cache entries from the original index [1]. prepare_to_write_split_index() has to deal with this, and it has a dedicated code path for copied entries that are present in the shared index, where it compares the cached data in the corresponding