[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 t.gumme...@gmail.com --- cache.h | 79 +

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 t.gumme...@gmail.com

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, but