Re: [PATCH v2 06/19] read-cache: add index reading api

2013-07-13 Thread Duy Nguyen
On Sat, Jul 13, 2013 at 12:26 AM, Thomas Gummerer wrote: > @@ -238,7 +245,6 @@ static int read_index_v2(struct index_state *istate, void > *mmap, > disk_ce = (struct ondisk_cache_entry *)((char *)mmap + > src_offset); > ce = create_from_disk(disk_ce, &consumed, pr

[PATCH v2 06/19] read-cache: add index reading api

2013-07-12 Thread Thomas Gummerer
Add an api for access to the index file. Currently there is only a very basic api for accessing the index file, which only allows a full read of the index, and lets the users of the data filter it. The new index api gives the users the possibility to use only part of the index and provides functi