summaryrefslogtreecommitdiffabout
path: root/cgitrc.5.txt
Unidiff
Diffstat (limited to 'cgitrc.5.txt') (more/less context) (ignore whitespace changes)
-rw-r--r--cgitrc.5.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index a207fe0..d420ad4 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -169,64 +169,72 @@ renamelimit::
169 169
170repo.group:: 170repo.group::
171 A value for the current repository group, which all repositories 171 A value for the current repository group, which all repositories
172 specified after this setting will inherit. Default value: none. 172 specified after this setting will inherit. Default value: none.
173 173
174robots:: 174robots::
175 Text used as content for the "robots" meta-tag. Default value: 175 Text used as content for the "robots" meta-tag. Default value:
176 "index, nofollow". 176 "index, nofollow".
177 177
178root-desc:: 178root-desc::
179 Text printed below the heading on the repository index page. Default 179 Text printed below the heading on the repository index page. Default
180 value: "a fast webinterface for the git dscm". 180 value: "a fast webinterface for the git dscm".
181 181
182root-readme:: 182root-readme::
183 The content of the file specified with this option will be included 183 The content of the file specified with this option will be included
184 verbatim below the "about" link on the repository index page. Default 184 verbatim below the "about" link on the repository index page. Default
185 value: none. 185 value: none.
186 186
187root-title:: 187root-title::
188 Text printed as heading on the repository index page. Default value: 188 Text printed as heading on the repository index page. Default value:
189 "Git Repository Browser". 189 "Git Repository Browser".
190 190
191snapshots:: 191snapshots::
192 Text which specifies the default (and allowed) set of snapshot formats 192 Text which specifies the default (and allowed) set of snapshot formats
193 supported by cgit. The value is a space-separated list of zero or more 193 supported by cgit. The value is a space-separated list of zero or more
194 of the following values: 194 of the following values:
195 "tar" uncompressed tar-file 195 "tar" uncompressed tar-file
196 "tar.gz"gzip-compressed tar-file 196 "tar.gz"gzip-compressed tar-file
197 "tar.bz2"bzip-compressed tar-file 197 "tar.bz2"bzip-compressed tar-file
198 "zip" zip-file 198 "zip" zip-file
199 Default value: none. 199 Default value: none.
200 200
201source-filter::
202 Specifies a command which will be invoked to format plaintext blobs
203 in the tree view. The command will get the blob content on its STDIN
204 and the name of the blob as its only command line argument. The STDOUT
205 from the command will be included verbatim as the blob contents, i.e.
206 this can be used to implement e.g. syntax highlighting. Default value:
207 none.
208
201summary-branches:: 209summary-branches::
202 Specifies the number of branches to display in the repository "summary" 210 Specifies the number of branches to display in the repository "summary"
203 view. Default value: "10". 211 view. Default value: "10".
204 212
205summary-log:: 213summary-log::
206 Specifies the number of log entries to display in the repository 214 Specifies the number of log entries to display in the repository
207 "summary" view. Default value: "10". 215 "summary" view. Default value: "10".
208 216
209summary-tags:: 217summary-tags::
210 Specifies the number of tags to display in the repository "summary" 218 Specifies the number of tags to display in the repository "summary"
211 view. Default value: "10". 219 view. Default value: "10".
212 220
213virtual-root:: 221virtual-root::
214 Url which, if specified, will be used as root for all cgit links. It 222 Url which, if specified, will be used as root for all cgit links. It
215 will also cause cgit to generate 'virtual urls', i.e. urls like 223 will also cause cgit to generate 'virtual urls', i.e. urls like
216 '/cgit/tree/README' as opposed to '?r=cgit&p=tree&path=README'. Default 224 '/cgit/tree/README' as opposed to '?r=cgit&p=tree&path=README'. Default
217 value: none. 225 value: none.
218 NOTE: cgit has recently learned how to use PATH_INFO to achieve the 226 NOTE: cgit has recently learned how to use PATH_INFO to achieve the
219 same kind of virtual urls, so this option will probably be deprecated. 227 same kind of virtual urls, so this option will probably be deprecated.
220 228
221REPOSITORY SETTINGS 229REPOSITORY SETTINGS
222------------------- 230-------------------
223repo.clone-url:: 231repo.clone-url::
224 A list of space-separated urls which can be used to clone this repo. 232 A list of space-separated urls which can be used to clone this repo.
225 Default value: none. 233 Default value: none.
226 234
227repo.defbranch:: 235repo.defbranch::
228 The name of the default branch for this repository. If no such branch 236 The name of the default branch for this repository. If no such branch
229 exists in the repository, the first branch name (when sorted) is used 237 exists in the repository, the first branch name (when sorted) is used
230 as default instead. Default value: "master". 238 as default instead. Default value: "master".
231 239
232repo.desc:: 240repo.desc::