summaryrefslogtreecommitdiff
path: root/t/helper/test-revision-walking.c
diff options
context:
space:
mode:
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 b8e6fe1d00..4f8bc75821 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;