summaryrefslogtreecommitdiffstats
path: root/t/helper/test-tool.h
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2019-06-15 12:06:59 +0200
committerJunio C Hamano <gitster@pobox.com>2019-06-18 03:11:41 +0200
commit11510decd020c3cb8936432d4d4bfb214492fcc4 (patch)
tree35b140c54d19e7b20add494c30f349d8b29c8ae1 /t/helper/test-tool.h
parentGit 2.22 (diff)
downloadgit-11510decd020c3cb8936432d4d4bfb214492fcc4.tar.xz
git-11510decd020c3cb8936432d4d4bfb214492fcc4.zip
t/helper: add test-oidmap.c
This new helper is very similar to "test-hashmap.c" and will help test how `struct oidmap` from oidmap.{c,h} can be used. Helped-by: SZEDER Gábor <szeder.dev@gmail.com> Helped-by: Jeff King <peff@peff.net> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-tool.h')
-rw-r--r--t/helper/test-tool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/helper/test-tool.h b/t/helper/test-tool.h
index 7e703f3038..c7a46dc320 100644
--- a/t/helper/test-tool.h
+++ b/t/helper/test-tool.h
@@ -25,6 +25,7 @@ int cmd__lazy_init_name_hash(int argc, const char **argv);
int cmd__match_trees(int argc, const char **argv);
int cmd__mergesort(int argc, const char **argv);
int cmd__mktemp(int argc, const char **argv);
+int cmd__oidmap(int argc, const char **argv);
int cmd__online_cpus(int argc, const char **argv);
int cmd__parse_options(int argc, const char **argv);
int cmd__path_utils(int argc, const char **argv);