X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/57ea1aa2a5eab7f6aba702b3366fe4dcc72124f6..c330a2e5f86e1f77d3b724877935e11014cefa21:/ui-repolist.c diff --git a/ui-repolist.c b/ui-repolist.c index 6004469..7158bf7 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -79,7 +79,7 @@ static void print_modtime(struct cgit_repo *repo) { time_t t; if (get_repo_modtime(repo, &t)) - cgit_print_age(t, -1); + cgit_print_age(t, 0, -1); } static int is_match(struct cgit_repo *repo) @@ -275,6 +275,7 @@ void cgit_print_repolist(void) int i, columns = 3, hits = 0, header = 0; char *last_section = NULL; char *section; + char *repourl; int sorted = 0; if (!any_repos_visible()) { @@ -330,7 +331,9 @@ void cgit_print_repolist(void) !sorted && section ? "sublevel-repo" : "toplevel-repo"); cgit_summary_link(ctx.repo->name, ctx.repo->name, NULL, NULL); html("