[PATCH 01/16] Modify cache_header to prepare for other index formats

2012-08-02 Thread Thomas Gummerer
Modify the cache_header such that other index file formats can be added and reusing the common part of each index format. The signature and version have to be present in every version of the index file format, to check if it can be read by a specific version of git, while other entries (eg.

Re: [PATCH 01/16] Modify cache_header to prepare for other index formats

2012-08-02 Thread Nguyen Thai Ngoc Duy
On Thu, Aug 2, 2012 at 6:01 PM, Thomas Gummerer t.gumme...@gmail.com wrote: diff --git a/cache.h b/cache.h index 6e9a243..d4028ef 100644 --- a/cache.h +++ b/cache.h @@ -99,9 +99,12 @@ unsigned long git_deflate_bound(git_zstream *, unsigned long); */ #define CACHE_SIGNATURE 0x44495243