X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/96ceb9a95a7a321209cff347fefd141a9fffc7ca..e14eee9ea573a17c9501d1020fc869218aac9e8a:/ui-repolist.c?ds=inline diff --git a/ui-repolist.c b/ui-repolist.c index f929cb7..2b55181 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -275,6 +275,8 @@ void cgit_print_repolist() html(""); for (i = 0; i < cgit_repolist.count; i++) { ctx.repo = &cgit_repolist.repos[i]; + if (ctx.repo->hide || ctx.repo->ignore) + continue; if (!(is_match(ctx.repo) && is_in_url(ctx.repo))) continue; hits++; @@ -314,7 +316,7 @@ void cgit_print_repolist() } else { html(""); html_txt(ctx.repo->owner);