path: root/Documentation/technical/api-revision-walking.txt
diff options
authorDerrick Stolee <>2018-06-28 12:52:45 (GMT)
committerJunio C Hamano <>2018-06-28 16:45:03 (GMT)
commita9aa3c09270698ef3c15ec20013bd5a1abae0dea (patch)
tree58ed4f00b0a8326687c276fdeb107ea2f0438c95 /Documentation/technical/api-revision-walking.txt
parent7547b95b4fbb8591726b1d9381c176cc27fc6aea (diff)
commit-graph: fix documentation inconsistencies
The commit-graph feature shipped in Git 2.18 has some inconsistencies in the constants used by the implementation and specified by the format document. The commit data chunk uses the key "CDAT" in the file format, but was previously documented to say "CGET". The commit data chunk stores commit parents using two 32-bit fields that typically store the integer position of the parent in the list of commit ids within the commit-graph file. When a parent does not exist, we had documented the value 0xffffffff, but implemented the value 0x70000000. This swap is easy to correct in the documentation, but unfortunately reduces the number of commits that we can store in the commit-graph. Update that estimate, too. Reported-by: Grant Welch <> Signed-off-by: Derrick Stolee <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/technical/api-revision-walking.txt')
0 files changed, 0 insertions, 0 deletions