Re: [PATCH v2 01/14] commit-graph: add format document

2018-02-01 Thread Jonathan Tan
On Tue, 30 Jan 2018 16:39:30 -0500 Derrick Stolee wrote: > + Commit Data (ID: {'C', 'G', 'E', 'T' }) (N * (H + 16) bytes) > +* The first H bytes are for the OID of the root tree. > +* The next 8 bytes are for the int-ids of the first two parents > + of the ith

[PATCH v2 01/14] commit-graph: add format document

2018-01-30 Thread Derrick Stolee
Add document specifying the binary format for commit graphs. This format allows for: * New versions. * New hash functions and hash lengths. * Optional extensions. Basic header information is followed by a binary table of contents into "chunks" that include: * An ordered list of commit object