summaryrefslogtreecommitdiff
path: root/t/helper/test-tool.c
diff options
context:
space:
mode:
authorDerrick Stolee <dstolee@microsoft.com>2019-11-12 16:58:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-11-13 02:14:16 (GMT)
commit4bd0593e0f9149b0e72886c0a2d85bb22fc5404a (patch)
treeec2d841dcbda86a9e017f688e5d3aea8e3bb536b /t/helper/test-tool.c
parentd9f6f3b6195a0ca35642561e530798ad1469bd41 (diff)
downloadgit-4bd0593e0f9149b0e72886c0a2d85bb22fc5404a.zip
git-4bd0593e0f9149b0e72886c0a2d85bb22fc5404a.tar.gz
git-4bd0593e0f9149b0e72886c0a2d85bb22fc5404a.tar.bz2
test-tool: use 'read-graph' helper
The 'git commit-graph read' subcommand is used in test scripts to check that the commit-graph contents match the expected data. Mostly, this helps check the header information and the list of chunks. Users do not need this information, so move the functionality to a test helper. Reported-by: Bryan Turner <bturner@atlassian.com> Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-tool.c')
-rw-r--r--t/helper/test-tool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.c b/t/helper/test-tool.c
index 19ee26d..f20989d 100644
--- a/t/helper/test-tool.c
+++ b/t/helper/test-tool.c
@@ -45,6 +45,7 @@ static struct test_cmd cmds[] = {
{ "progress", cmd__progress },
{ "reach", cmd__reach },
{ "read-cache", cmd__read_cache },
+ { "read-graph", cmd__read_graph },
{ "read-midx", cmd__read_midx },
{ "ref-store", cmd__ref_store },
{ "regex", cmd__regex },