diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Restyle the sources and fix the audit's findings
Diffstat (limited to '')
-rw-r--r--source/ui-empty.h13
1 file changed, 10 insertions, 3 deletions
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