]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-stats.c
git: update to v2.41.0
[ps-cgit] / ui-stats.c
index 40ed6c21df628e178590860f0ef3999d89595331..9aed4ac3bf2ba286b5ff889534f64db4633e2176 100644 (file)
@@ -230,7 +230,7 @@ static struct string_list collect_stats(const struct cgit_period *period)
                argv[4] = ctx.qry.path;
                argc += 2;
        }
                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;
        rev.abbrev = DEFAULT_ABBREV;
        rev.commit_format = CMIT_FMT_DEFAULT;
        rev.max_parents = 1;