summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-09-21 17:57:38 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-09-21 09:51:19 -0700
commit2abf3503854e27e18b2fb5ba97ceeb3f79240ee5 (patch)
tree32420041df8dc531f41f954438910fd308cdd5ff /t/helper
parentws.c: remove implicit dependency on the_index (diff)
downloadtgif-2abf3503854e27e18b2fb5ba97ceeb3f79240ee5.tar.xz
revision.c: remove implicit dependency on the_index
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')
-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");