summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2021-02-18 14:07:36 +0000
committerJunio C Hamano <gitster@pobox.com>2021-02-18 13:38:16 -0800
commit6ab3b8b8b8dc94c8e4caefb1d368cc704e70d38b (patch)
treea7d190a9776dfab282e82f5ff720eca4888f3750 /commit-graph.c
parent2692c2f6fd1cc9f74e433cb05d5756575682b9ab (diff)
midx: use chunk-format read API
Instead of parsing the table of contents directly, use the chunk-format API methods read_table_of_contents() and pair_chunk(). In particular, we can use the return value of pair_chunk() to generate an error when a required chunk is missing. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions