aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.h
diff options
context:
space:
mode:
authorGravatar Jason A. Donenfeld <Jason@zx2c4.com>2013-05-26 22:20:02 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2013-05-26 23:30:03 (JST)
commitdcbc0438b2543a733858d62170f3110a89edbed6 (patch)
treebdacfe4546c88bf6b03860ea69a0cad885fa6af4 /cgit.h
parentfe36f84d843cd755c6dab629a0758264de5bcc00 (diff)
downloadcgit-dcbc0438b2543a733858d62170f3110a89edbed6.zip
cgit-dcbc0438b2543a733858d62170f3110a89edbed6.tar.gz
readme: use string_list instead of space deliminations
Now this is possible in cgitrc - readme=:README.md readme=:readme.md readme=:README.mkd readme=:readme.mkd readme=:README.rst readme=:readme.rst readme=:README.html readme=:readme.html readme=:README.htm readme=:readme.htm readme=:README.txt readme=:readme.txt readme=:README readme=:readme readme=:INSTALL.txt readme=:install.txt readme=:INSTALL readme=:install Suggested-by: John Keeping <john@keeping.me.uk> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgit.h b/cgit.h
index 850b792..f28cf30 100644
--- a/cgit.h
+++ b/cgit.h
@@ -73,7 +73,7 @@ struct cgit_repo {
73 char *owner; 73 char *owner;
74 char *defbranch; 74 char *defbranch;
75 char *module_link; 75 char *module_link;
76 char *readme; 76 struct string_list readme;
77 char *section; 77 char *section;
78 char *clone_url; 78 char *clone_url;
79 char *logo; 79 char *logo;
@@ -183,7 +183,7 @@ struct cgit_config {
183 char *mimetype_file; 183 char *mimetype_file;
184 char *module_link; 184 char *module_link;
185 char *project_list; 185 char *project_list;
186 char *readme; 186 struct string_list readme;
187 char *robots; 187 char *robots;
188 char *root_title; 188 char *root_title;
189 char *root_desc; 189 char *root_desc;