summaryrefslogtreecommitdiff
path: root/t/helper/test-example-decorate.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 07:44:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-27 15:45:47 (GMT)
commitdbceb3ecc5488408069283bbd091b2af9a1560df (patch)
tree35fdcdf5e056a638e2040ceb76a790f210da8c51 /t/helper/test-example-decorate.c
parent8133061e696508560961c62a30794887c84ad721 (diff)
downloadgit-dbceb3ecc5488408069283bbd091b2af9a1560df.zip
git-dbceb3ecc5488408069283bbd091b2af9a1560df.tar.gz
git-dbceb3ecc5488408069283bbd091b2af9a1560df.tar.bz2
t/helper: merge test-example-decorate 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-example-decorate.c')
-rw-r--r--t/helper/test-example-decorate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-example-decorate.c b/t/helper/test-example-decorate.c
index 90dc97a..081115b 100644
--- a/t/helper/test-example-decorate.c
+++ b/t/helper/test-example-decorate.c
@@ -1,8 +1,9 @@
+#include "test-tool.h"
#include "cache.h"
#include "object.h"
#include "decorate.h"
-int cmd_main(int argc, const char **argv)
+int cmd__example_decorate(int argc, const char **argv)
{
struct decoration n;
struct object_id one_oid = { {1} };