t/helper: merge test-dump-untracked-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>
This commit is contained in:
Nguyễn Thái Ngọc Duy
2018-09-09 19:36:27 +02:00
committed by Junio C Hamano
parent a0fe6e6e87
commit cd780f0b69
6 changed files with 41 additions and 38 deletions

View File

@ -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;