Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/helper: add a test helper to compute hash speed
[gitweb.git]
/
t
/
helper
/
test-dump-untracked-cache.c
diff --git
a/t/helper/test-dump-untracked-cache.c
b/t/helper/test-dump-untracked-cache.c
index bd92fb305a239cb4b96d38b4a07fe885e71bbeb3..52870ebbb3ea7b2d69aecb1bb429dbbaf6388b51 100644
(file)
--- 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;