Re: [PATCH 09/16] Read index-v5

2012-08-02 Thread Thomas Gummerer
On 08/02, Nguyen Thai Ngoc Duy wrote: > General note. I wonder if we should create a separate source file for > v5 (at least the low level handling part). Partial reading/writing > will come (hopefully soon) and read-cache.c on master is already close > to 2000 lines. To me it would make sense, bu

Re: [PATCH 09/16] Read index-v5

2012-08-02 Thread Nguyen Thai Ngoc Duy
General note. I wonder if we should create a separate source file for v5 (at least the low level handling part). Partial reading/writing will come (hopefully soon) and read-cache.c on master is already close to 2000 lines. On Thu, Aug 2, 2012 at 6:01 PM, Thomas Gummerer wrote: > +static struct ca

[PATCH 09/16] Read index-v5

2012-08-02 Thread Thomas Gummerer
Make git read the index file version 5 without complaining. This version of the reader doesn't read neither the cache-tree nor the resolve undo data, but doesn't choke on an index that includes such data. Signed-off-by: Thomas Gummerer --- cache.h | 79 + read-cache.c | 570 ++