From 80767bc9732bf6716697198e53ff2cb8d4ae96be Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 12 Aug 2026 18:23:17 -1000 Subject: Restyle the sources and fix the audit's findings --- source/ui-repolist.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'source/ui-repolist.h') diff --git a/source/ui-repolist.h b/source/ui-repolist.h index 1b6b322..294e13f 100644 --- a/source/ui-repolist.h +++ b/source/ui-repolist.h @@ -1,7 +1,14 @@ -#ifndef UI_REPOLIST_H -#define UI_REPOLIST_H +/* + * The two pages cgit renders without a repository in hand. One is the index + * of every repository the configuration knows about, which is where a request + * naming neither a repository nor a page lands. The other is the site wide + * readme, which the about page shows when no repository was selected. + */ + +#ifndef CGIT_UI_REPOLIST_H +#define CGIT_UI_REPOLIST_H extern void cgit_print_repolist(void); extern void cgit_print_site_readme(void); -#endif /* UI_REPOLIST_H */ +#endif // CGIT_UI_REPOLIST_H -- cgit v2.8.0