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-empty.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'source/ui-empty.h') diff --git a/source/ui-empty.h b/source/ui-empty.h index dda303a..25ae049 100644 --- a/source/ui-empty.h +++ b/source/ui-empty.h @@ -1,6 +1,13 @@ -#ifndef UI_EMPTY_H -#define UI_EMPTY_H +/* + * The page shown for a repository that holds no commits, an error line saying + * it looks empty followed by the clone urls a first push would use. It is not + * one of the commands in cmd.c, because cgit.c reaches it directly when a + * repository has no branch for the requested page to work from. + */ + +#ifndef CGIT_UI_EMPTY_H +#define CGIT_UI_EMPTY_H extern void cgit_print_empty_repo(void); -#endif /* UI_EMPTY_H */ +#endif // CGIT_UI_EMPTY_H -- cgit v2.8.0