summaryrefslogtreecommitdiff
path: root/t/helper/test-sha1.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 08:44:32 +0100
committerJunio C Hamano <gitster@pobox.com>2018-03-27 08:45:47 -0700
commitdae2ff9bb6112bbac0a9bee1e524ae0b3ad316fb (patch)
treefff3b2b32e69a82d1ef76f1a68da3c8ca77af2df /t/helper/test-sha1.c
parent0e496492d26a8f7f360b6fad1aed2cae74403fa1 (diff)
downloadgit-dae2ff9bb6112bbac0a9bee1e524ae0b3ad316fb.tar.gz
t/helper: merge test-sha1 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-sha1.c')
-rw-r--r--t/helper/test-sha1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-sha1.c b/t/helper/test-sha1.c
index a1c13f54ec..1ba0675c75 100644
--- a/t/helper/test-sha1.c
+++ b/t/helper/test-sha1.c
@@ -1,6 +1,7 @@
+#include "test-tool.h"
#include "cache.h"
-int cmd_main(int ac, const char **av)
+int cmd__sha1(int ac, const char **av)
{
git_SHA_CTX ctx;
unsigned char sha1[20];