diff options
| author | Derrick Stolee <dstolee@microsoft.com> | 2019-11-12 16:58:20 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-11-13 11:14:16 +0900 |
| commit | 4bd0593e0f9149b0e72886c0a2d85bb22fc5404a (patch) | |
| tree | ec2d841dcbda86a9e017f688e5d3aea8e3bb536b /t/helper/test-tool.c | |
| parent | d9f6f3b6195a0ca35642561e530798ad1469bd41 (diff) | |
| download | git-4bd0593e0f9149b0e72886c0a2d85bb22fc5404a.tar.gz | |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.c b/t/helper/test-tool.c index 19ee26d931..f20989d449 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 }, |
