diff options
context:
space:
mode:
Diffstat (limited to 'source/ui-repolist.h')
-rw-r--r--source/ui-repolist.h13
1 file changed, 10 insertions, 3 deletions
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