Re: [PATCH 17/22] read-cache: read cache-tree in index-v5

2013-07-07 Thread Eric Sunshine
On Sun, Jul 7, 2013 at 4:11 AM, Thomas Gummerer wrote: > Since the cache-tree data is saved as part of the directory data, > we already read it at the beginning of the index. The cache-tree > is only converted from this directory data. > > The cache-tree data is arranged in a tree, with the childr

[PATCH 17/22] read-cache: read cache-tree in index-v5

2013-07-07 Thread Thomas Gummerer
Since the cache-tree data is saved as part of the directory data, we already read it at the beginning of the index. The cache-tree is only converted from this directory data. The cache-tree data is arranged in a tree, with the children sorted by pathlen at each node, while the ondisk format is sor