summaryrefslogtreecommitdiff
path: root/t/helper/test-index-version.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 08:44:44 +0100
committerJunio C Hamano <gitster@pobox.com>2018-03-27 08:45:47 -0700
commitcc6f663dea6d146dcf8b9fa75c101ecb0e41a5c6 (patch)
tree8472d6a9e1b72d4e3eaca13240291b8ec4c4a3d8 /t/helper/test-index-version.c
parent7c18cbd562af9f00877baad5f46b057d47b1c493 (diff)
downloadgit-cc6f663dea6d146dcf8b9fa75c101ecb0e41a5c6.tar.gz
t/helper: merge test-index-version 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-index-version.c')
-rw-r--r--t/helper/test-index-version.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-index-version.c b/t/helper/test-index-version.c
index f569f6b7ef..fcd10968cc 100644
--- a/t/helper/test-index-version.c
+++ b/t/helper/test-index-version.c
@@ -1,6 +1,7 @@
+#include "test-tool.h"
#include "cache.h"
-int cmd_main(int argc, const char **argv)
+int cmd__index_version(int argc, const char **argv)
{
struct cache_header hdr;
int version;