diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-06-18 11:14:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-19 20:46:26 -0700 |
commit | 144354b054c99b2231be6bae517eed5f8da55268 (patch) | |
tree | 326add9be017b60b7f72bee1608cee29e7c157aa /Documentation/technical/api-directory-listing.txt | |
parent | commit-graph: add base graphs chunk (diff) | |
download | tgif-144354b054c99b2231be6bae517eed5f8da55268.tar.xz |
commit-graph: rearrange chunk count logic
The number of chunks in a commit-graph file can change depending on
whether we need the Extra Edges Chunk. We are going to add more optional
chunks, and it will be helpful to rearrange this logic around the chunk
count before doing so.
Specifically, we need to finalize the number of chunks before writing
the commit-graph header. Further, we also need to fill out the chunk
lookup table dynamically and using "num_chunks" as we add optional
chunks is useful for adding optional chunks in the future.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/api-directory-listing.txt')
0 files changed, 0 insertions, 0 deletions