diff options
| author | Derrick Stolee <dstolee@microsoft.com> | 2021-02-18 14:07:35 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-02-18 13:38:16 -0800 |
| commit | 2692c2f6fd1cc9f74e433cb05d5756575682b9ab (patch) | |
| tree | 1d141f1826ded386e56870bbcbb9e58faaef886c /t/t5318-commit-graph.sh | |
| parent | 5f0879f54b1f5cda348528a49af57a9c3fd620f9 (diff) | |
| download | git-2692c2f6fd1cc9f74e433cb05d5756575682b9ab.tar.xz | |
commit-graph: 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(). While the current
implementation loses the duplicate-chunk detection, that will be added
in a future change.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5318-commit-graph.sh')
| -rwxr-xr-x | t/t5318-commit-graph.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5318-commit-graph.sh b/t/t5318-commit-graph.sh index fa27df579a..c7da741284 100755 --- a/t/t5318-commit-graph.sh +++ b/t/t5318-commit-graph.sh @@ -564,7 +564,7 @@ test_expect_success 'detect bad hash version' ' test_expect_success 'detect low chunk count' ' corrupt_graph_and_verify $GRAPH_BYTE_CHUNK_COUNT "\01" \ - "missing the .* chunk" + "final chunk has non-zero id" ' test_expect_success 'detect missing OID fanout chunk' ' |
