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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-revision-walking.c b/t/helper/test-revision-walking.c
index 4f8bc75821..625b2dbf82 100644
--- a/t/helper/test-revision-walking.c
+++ b/t/helper/test-revision-walking.c
@@ -32,7 +32,7 @@ static int run_revision_walk(void)
int argc = ARRAY_SIZE(argv) - 1;
int got_revision = 0;
- init_revisions(&rev, NULL);
+ repo_init_revisions(the_repository, &rev, NULL);
setup_revisions(argc, argv, &rev, NULL);
if (prepare_revision_walk(&rev))
die("revision walk setup failed");