diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-03-24 10:45:05 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-27 18:45:47 +0300 |
commit | c81f843d0901c79150b1bf2fe528ad0c48267c24 (patch) | |
tree | dc02b76fca792f3a344db4a17ade7156a1af184b /t/helper/test-write-cache.c | |
parent | 0489289de2d70d86ccb20cf5870bd697fd7cf1a2 (diff) |
t/helper: merge test-write-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-write-cache.c')
-rw-r--r-- | t/helper/test-write-cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-write-cache.c b/t/helper/test-write-cache.c index b7ee039669..017dc30380 100644 --- a/t/helper/test-write-cache.c +++ b/t/helper/test-write-cache.c @@ -1,9 +1,10 @@ +#include "test-tool.h" #include "cache.h" #include "lockfile.h" static struct lock_file index_lock; -int cmd_main(int argc, const char **argv) +int cmd__write_cache(int argc, const char **argv) { int i, cnt = 1, lockfd; if (argc == 2) |