summaryrefslogtreecommitdiff
path: root/t/helper/test-tool.c
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@google.com>2021-10-07 20:25:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-10-08 17:45:48 (GMT)
commitd860c86ba545920342cbc507fc34af461ab99152 (patch)
tree1f81693c09348d1c1c78a464cbf207dd23145f36 /t/helper/test-tool.c
parente7931683645f65e8e483bdc3dabbf94ddf799cd7 (diff)
downloadgit-d860c86ba545920342cbc507fc34af461ab99152.zip
git-d860c86ba545920342cbc507fc34af461ab99152.tar.gz
git-d860c86ba545920342cbc507fc34af461ab99152.tar.bz2
Add "test-tool dump-reftable" command.
This command dumps individual tables or a stack of of tables. Signed-off-by: Han-Wen Nienhuys <hanwen@google.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 f7c888f..338a57b 100644
--- a/t/helper/test-tool.c
+++ b/t/helper/test-tool.c
@@ -61,6 +61,7 @@ static struct test_cmd cmds[] = {
{ "read-midx", cmd__read_midx },
{ "ref-store", cmd__ref_store },
{ "reftable", cmd__reftable },
+ { "dump-reftable", cmd__dump_reftable },
{ "regex", cmd__regex },
{ "repository", cmd__repository },
{ "revision-walking", cmd__revision_walking },