summaryrefslogtreecommitdiff
path: root/t/helper/test-drop-caches.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 07:44:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-27 15:45:47 (GMT)
commit1c854745bdd9e1c49d8befb7611cc74e7194b5b8 (patch)
treec18718fc0fc15daf0537ad6cd38b4da52d8610bd /t/helper/test-drop-caches.c
parent9153dde5e2ec0c424e5468aa2aff8cec04214770 (diff)
downloadgit-1c854745bdd9e1c49d8befb7611cc74e7194b5b8.zip
git-1c854745bdd9e1c49d8befb7611cc74e7194b5b8.tar.gz
git-1c854745bdd9e1c49d8befb7611cc74e7194b5b8.tar.bz2
t/helper: merge test-drop-caches 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-drop-caches.c')
-rw-r--r--t/helper/test-drop-caches.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-drop-caches.c b/t/helper/test-drop-caches.c
index bd1a857..8387608 100644
--- a/t/helper/test-drop-caches.c
+++ b/t/helper/test-drop-caches.c
@@ -1,3 +1,4 @@
+#include "test-tool.h"
#include "git-compat-util.h"
#if defined(GIT_WINDOWS_NATIVE)
@@ -157,7 +158,7 @@ static int cmd_dropcaches(void)
#endif
-int cmd_main(int argc, const char **argv)
+int cmd__drop_caches(int argc, const char **argv)
{
cmd_sync();
return cmd_dropcaches();