Re: Index Fileformat: stat(2) info necessary? What for?

2013-08-26 Thread Jeff King
On Mon, Aug 26, 2013 at 02:34:18PM +0200, Erik Bernoth wrote: > Now there's a lot of information (all the stat(2) stuff) that gets > stored about the staged files, which I never needed for file-IO in > Python or Java. In my eyes if a person would be cloning my git > repository he wouldn't need it

Index Fileformat: stat(2) info necessary? What for?

2013-08-26 Thread Erik Bernoth
Hi, I am still working on implementing git in Python for self education purposes. Implementing the Index in memory was no problem after I understood how its done with help of Andreas Ericsson and Junio C Hamano. Now I want to store an Index state to the filesystem in a git-compatible file format.