about summary refs log tree commit diff
path: root/third_party/cgit/ui-stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/cgit/ui-stats.c')
-rw-r--r--third_party/cgit/ui-stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cgit/ui-stats.c b/third_party/cgit/ui-stats.c
index 40ed6c21df62..9aed4ac3bf2b 100644
--- a/third_party/cgit/ui-stats.c
+++ b/third_party/cgit/ui-stats.c
@@ -230,7 +230,7 @@ static struct string_list collect_stats(const struct cgit_period *period)
 		argv[4] = ctx.qry.path;
 		argc += 2;
 	}
-	init_revisions(&rev, NULL);
+	repo_init_revisions(the_repository, &rev, NULL);
 	rev.abbrev = DEFAULT_ABBREV;
 	rev.commit_format = CMIT_FMT_DEFAULT;
 	rev.max_parents = 1;