X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/4c520cefc90b10566fcc8a0b006287494a7770e1..a6da40bf84527cbe77d1ec504e1fefb982b9a52a:/ui-stats.c diff --git a/ui-stats.c b/ui-stats.c index 40ed6c2..9aed4ac 100644 --- a/ui-stats.c +++ b/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;