summaryrefslogtreecommitdiff
path: root/t/helper/test-revision-walking.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 07:44:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-27 15:45:47 (GMT)
commit77d4b8c8328c4a95f20b03b422020cf3af4b0e63 (patch)
treef9504d84189317fccace39a18cb076b1717aff4d /t/helper/test-revision-walking.c
parent9038531f1bf71352aa9218e3ea45d5ff7721c4d5 (diff)
downloadgit-77d4b8c8328c4a95f20b03b422020cf3af4b0e63.zip
git-77d4b8c8328c4a95f20b03b422020cf3af4b0e63.tar.gz
git-77d4b8c8328c4a95f20b03b422020cf3af4b0e63.tar.bz2
t/helper: merge test-revision-walking 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-revision-walking.c')
-rw-r--r--t/helper/test-revision-walking.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-revision-walking.c b/t/helper/test-revision-walking.c
index b8e6fe1..4f8bc75 100644
--- a/t/helper/test-revision-walking.c
+++ b/t/helper/test-revision-walking.c
@@ -8,6 +8,7 @@
* published by the Free Software Foundation.
*/
+#include "test-tool.h"
#include "cache.h"
#include "commit.h"
#include "diff.h"
@@ -45,7 +46,7 @@ static int run_revision_walk(void)
return got_revision;
}
-int cmd_main(int argc, const char **argv)
+int cmd__revision_walking(int argc, const char **argv)
{
if (argc < 2)
return 1;