diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-11-12 17:58:20 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-13 03:14:16 +0100 |
commit | 4bd0593e0f9149b0e72886c0a2d85bb22fc5404a (patch) | |
tree | ec2d841dcbda86a9e017f688e5d3aea8e3bb536b /t/helper/test-tool.h | |
parent | The first batch post 2.24 cycle (diff) | |
download | git-4bd0593e0f9149b0e72886c0a2d85bb22fc5404a.tar.xz git-4bd0593e0f9149b0e72886c0a2d85bb22fc5404a.zip |
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.h')
-rw-r--r-- | t/helper/test-tool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.h b/t/helper/test-tool.h index c2aa56ef50..8ed2af71d1 100644 --- a/t/helper/test-tool.h +++ b/t/helper/test-tool.h @@ -35,6 +35,7 @@ int cmd__prio_queue(int argc, const char **argv); int cmd__progress(int argc, const char **argv); int cmd__reach(int argc, const char **argv); int cmd__read_cache(int argc, const char **argv); +int cmd__read_graph(int argc, const char **argv); int cmd__read_midx(int argc, const char **argv); int cmd__ref_store(int argc, const char **argv); int cmd__regex(int argc, const char **argv); |