summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.c2
-rw-r--r--cgit.css2
-rw-r--r--cgitrc.5.txt9
3 files changed, 10 insertions, 3 deletions
diff --git a/cgit.c b/cgit.c
index 36777b5..66dd140 100644
--- a/cgit.c
+++ b/cgit.c
@@ -230,13 +230,13 @@ static void prepare_context(struct cgit_context *ctx)
230 ctx->cfg.cache_max_create_time = 5; 230 ctx->cfg.cache_max_create_time = 5;
231 ctx->cfg.cache_repo_ttl = 5; 231 ctx->cfg.cache_repo_ttl = 5;
232 ctx->cfg.cache_root = CGIT_CACHE_ROOT; 232 ctx->cfg.cache_root = CGIT_CACHE_ROOT;
233 ctx->cfg.cache_root_ttl = 5; 233 ctx->cfg.cache_root_ttl = 5;
234 ctx->cfg.cache_static_ttl = -1; 234 ctx->cfg.cache_static_ttl = -1;
235 ctx->cfg.css = "/cgit.css"; 235 ctx->cfg.css = "/cgit.css";
236 ctx->cfg.logo = "/git-logo.png"; 236 ctx->cfg.logo = "/cgit.png";
237 ctx->cfg.local_time = 0; 237 ctx->cfg.local_time = 0;
238 ctx->cfg.max_repo_count = 50; 238 ctx->cfg.max_repo_count = 50;
239 ctx->cfg.max_commit_count = 50; 239 ctx->cfg.max_commit_count = 50;
240 ctx->cfg.max_lock_attempts = 5; 240 ctx->cfg.max_lock_attempts = 5;
241 ctx->cfg.max_msg_len = 80; 241 ctx->cfg.max_msg_len = 80;
242 ctx->cfg.max_repodesc_len = 80; 242 ctx->cfg.max_repodesc_len = 80;
diff --git a/cgit.css b/cgit.css
index adfc8ae..e3b32e7 100644
--- a/cgit.css
+++ b/cgit.css
@@ -152,13 +152,13 @@ table.list td.logsubject {
152 font-weight: bold; 152 font-weight: bold;
153} 153}
154 154
155table.list td.logmsg { 155table.list td.logmsg {
156 font-family: monospace; 156 font-family: monospace;
157 white-space: pre; 157 white-space: pre;
158 padding: 1em 0em 2em 0em; 158 padding: 1em 0.5em 2em 0.5em;
159} 159}
160 160
161table.list td a { 161table.list td a {
162 color: black; 162 color: black;
163} 163}
164 164
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 4d656fe..3c35b02 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -11,12 +11,19 @@ SYNOPSIS
11-------- 11--------
12Cgitrc contains all runtime settings for cgit, including the list of git 12Cgitrc contains all runtime settings for cgit, including the list of git
13repositories, formatted as a line-separated list of NAME=VALUE pairs. Blank 13repositories, formatted as a line-separated list of NAME=VALUE pairs. Blank
14lines, and lines starting with '#', are ignored. 14lines, and lines starting with '#', are ignored.
15 15
16 16
17LOCATION
18--------
19The default location of cgitrc, defined at compile time, is /etc/cgitrc. At
20runtime, cgit will consult the environment variable CGIT_CONFIG and, if
21defined, use its value instead.
22
23
17GLOBAL SETTINGS 24GLOBAL SETTINGS
18--------------- 25---------------
19about-filter:: 26about-filter::
20 Specifies a command which will be invoked to format the content of 27 Specifies a command which will be invoked to format the content of
21 about pages (both top-level and for each repository). The command will 28 about pages (both top-level and for each repository). The command will
22 get the content of the about-file on its STDIN, and the STDOUT from the 29 get the content of the about-file on its STDIN, and the STDOUT from the
@@ -129,13 +136,13 @@ index-info::
129local-time:: 136local-time::
130 Flag which, if set to "1", makes cgit print commit and tag times in the 137 Flag which, if set to "1", makes cgit print commit and tag times in the
131 servers timezone. Default value: "0". 138 servers timezone. Default value: "0".
132 139
133logo:: 140logo::
134 Url which specifies the source of an image which will be used as a logo 141 Url which specifies the source of an image which will be used as a logo
135 on all cgit pages. 142 on all cgit pages. Default value: "/cgit.png".
136 143
137logo-link:: 144logo-link::
138 Url loaded when clicking on the cgit logo image. If unspecified the 145 Url loaded when clicking on the cgit logo image. If unspecified the
139 calculated url of the repository index page will be used. Default 146 calculated url of the repository index page will be used. Default
140 value: none. 147 value: none.
141 148