summaryrefslogtreecommitdiff
path: root/t/helper/test-dump-untracked-cache.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-10-10 12:37:16 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-10 12:37:16 +0900
commit77b5046ae36732db899d59fab9f5a8fa42f6c21e (patch)
treebb6e6c92b5bb85658dfe31ed59581710cdc2cb56 /t/helper/test-dump-untracked-cache.c
parentMerge branch 'nd/config-split' (diff)
parentMakefile: add a hint about TEST_BUILTINS_OBJS (diff)
downloadtgif-77b5046ae36732db899d59fab9f5a8fa42f6c21e.tar.xz
Merge branch 'nd/test-tool'
Test helper binaries clean-up. * nd/test-tool: Makefile: add a hint about TEST_BUILTINS_OBJS t/helper: merge test-dump-fsmonitor into test-tool t/helper: merge test-parse-options into test-tool t/helper: merge test-pkt-line into test-tool t/helper: merge test-dump-untracked-cache into test-tool t/helper: keep test-tool command list sorted
Diffstat (limited to 't/helper/test-dump-untracked-cache.c')
-rw-r--r--t/helper/test-dump-untracked-cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-dump-untracked-cache.c b/t/helper/test-dump-untracked-cache.c
index bd92fb305a..52870ebbb3 100644
--- a/t/helper/test-dump-untracked-cache.c
+++ b/t/helper/test-dump-untracked-cache.c
@@ -1,3 +1,4 @@
+#include "test-tool.h"
#include "cache.h"
#include "dir.h"
@@ -38,7 +39,7 @@ static void dump(struct untracked_cache_dir *ucd, struct strbuf *base)
strbuf_setlen(base, len);
}
-int cmd_main(int ac, const char **av)
+int cmd__dump_untracked_cache(int ac, const char **av)
{
struct untracked_cache *uc;
struct strbuf base = STRBUF_INIT;