summaryrefslogtreecommitdiff
path: root/t/helper/test-read-cache.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 07:44:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-27 15:45:47 (GMT)
commit5fbe600cb5e4c54e859b5d0b0ca59658781fce93 (patch)
tree3c5b9a66bc8cfbc632fd82d9b682eb8a2f92d563 /t/helper/test-read-cache.c
parent15b75817765be6d641590c69b6d42324147b293d (diff)
downloadgit-5fbe600cb5e4c54e859b5d0b0ca59658781fce93.zip
git-5fbe600cb5e4c54e859b5d0b0ca59658781fce93.tar.gz
git-5fbe600cb5e4c54e859b5d0b0ca59658781fce93.tar.bz2
t/helper: merge test-read-cache into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-read-cache.c')
-rw-r--r--t/helper/test-read-cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-read-cache.c b/t/helper/test-read-cache.c
index 48255ee..d674c88 100644
--- a/t/helper/test-read-cache.c
+++ b/t/helper/test-read-cache.c
@@ -1,6 +1,7 @@
+#include "test-tool.h"
#include "cache.h"
-int cmd_main(int argc, const char **argv)
+int cmd__read_cache(int argc, const char **argv)
{
int i, cnt = 1;
if (argc == 2)