diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2018-06-28 12:52:45 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-28 09:45:03 -0700 |
commit | a9aa3c09270698ef3c15ec20013bd5a1abae0dea (patch) | |
tree | 58ed4f00b0a8326687c276fdeb107ea2f0438c95 /Documentation/git-citool.txt | |
parent | commit-graph: implement "--append" option (diff) | |
download | tgif-a9aa3c09270698ef3c15ec20013bd5a1abae0dea.tar.xz |
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 <gwelch925@gmail.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-citool.txt')
0 files changed, 0 insertions, 0 deletions