Re: [PATCH 13/22] documentation: add documentation of the index-v5 file format

2013-07-11 Thread Duy Nguyen
On Thu, Jul 11, 2013 at 7:26 PM, Thomas Gummerer wrote: > Duy Nguyen writes: > >> On Thu, Jul 11, 2013 at 6:39 PM, Thomas Gummerer >> wrote: Question about the possibility of updating index file directly. If git updates a few fields of an entry (but not entrycrc yet) and crashes,

Re: [PATCH 13/22] documentation: add documentation of the index-v5 file format

2013-07-11 Thread Thomas Gummerer
Duy Nguyen writes: > On Thu, Jul 11, 2013 at 6:39 PM, Thomas Gummerer wrote: >>> Question about the possibility of updating index file directly. If git >>> updates a few fields of an entry (but not entrycrc yet) and crashes, >>> the entry would become corrupt because its entrycrc does not match

Re: [PATCH 13/22] documentation: add documentation of the index-v5 file format

2013-07-11 Thread Duy Nguyen
On Thu, Jul 11, 2013 at 6:39 PM, Thomas Gummerer wrote: >> Question about the possibility of updating index file directly. If git >> updates a few fields of an entry (but not entrycrc yet) and crashes, >> the entry would become corrupt because its entrycrc does not match the >> content. What do we

Re: [PATCH 13/22] documentation: add documentation of the index-v5 file format

2013-07-11 Thread Thomas Gummerer
Duy Nguyen writes: > On Sun, Jul 7, 2013 at 3:11 PM, Thomas Gummerer wrote: >> +== File entry (fileentries) >> + >> + File entries are sorted in ascending order on the name field, after the >> + respective offset given by the directory entries. All file names are >> + prefix compressed, meani

Re: [PATCH 13/22] documentation: add documentation of the index-v5 file format

2013-07-11 Thread Duy Nguyen
On Sun, Jul 7, 2013 at 3:11 PM, Thomas Gummerer wrote: > +== File entry (fileentries) > + > + File entries are sorted in ascending order on the name field, after the > + respective offset given by the directory entries. All file names are > + prefix compressed, meaning the file name is relative

[PATCH 13/22] documentation: add documentation of the index-v5 file format

2013-07-07 Thread Thomas Gummerer
Add a documentation of the index file format version 5 to Documentation/technical. Helped-by: Michael Haggerty Helped-by: Junio C Hamano Helped-by: Thomas Rast Helped-by: Nguyen Thai Ngoc Duy Helped-by: Robin Rosenberg Signed-off-by: Thomas Gummerer --- Documentation/technical/index-file-fo