-rw-r--r-- | cgitrc.5.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index c3698a6..be8483c 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -279,65 +279,66 @@ scan-hidden-path:: | |||
279 | directories whose name starts with a period ('.'). Otherwise, | 279 | directories whose name starts with a period ('.'). Otherwise, |
280 | scan-path will stay away from such directories (considered as | 280 | scan-path will stay away from such directories (considered as |
281 | "hidden"). Note that this does not apply to the ".git" directory in | 281 | "hidden"). Note that this does not apply to the ".git" directory in |
282 | non-bare repos. This must be defined prior to scan-path. | 282 | non-bare repos. This must be defined prior to scan-path. |
283 | Default value: 0. See also: scan-path. | 283 | Default value: 0. See also: scan-path. |
284 | 284 | ||
285 | scan-path:: | 285 | scan-path:: |
286 | A path which will be scanned for repositories. If caching is enabled, | 286 | A path which will be scanned for repositories. If caching is enabled, |
287 | the result will be cached as a cgitrc include-file in the cache | 287 | the result will be cached as a cgitrc include-file in the cache |
288 | directory. If project-list has been defined prior to scan-path, | 288 | directory. If project-list has been defined prior to scan-path, |
289 | scan-path loads only the directories listed in the file pointed to by | 289 | scan-path loads only the directories listed in the file pointed to by |
290 | project-list. Default value: none. See also: cache-scanrc-ttl, | 290 | project-list. Default value: none. See also: cache-scanrc-ttl, |
291 | project-list. | 291 | project-list. |
292 | 292 | ||
293 | section:: | 293 | section:: |
294 | The name of the current repository section - all repositories defined | 294 | The name of the current repository section - all repositories defined |
295 | after this option will inherit the current section name. Default value: | 295 | after this option will inherit the current section name. Default value: |
296 | none. | 296 | none. |
297 | 297 | ||
298 | section-from-path:: | 298 | section-from-path:: |
299 | A number which, if specified before scan-path, specifies how many | 299 | A number which, if specified before scan-path, specifies how many |
300 | path elements from each repo path to use as a default section name. | 300 | path elements from each repo path to use as a default section name. |
301 | If negative, cgit will discard the specified number of path elements | 301 | If negative, cgit will discard the specified number of path elements |
302 | above the repo directory. Default value: 0. | 302 | above the repo directory. Default value: 0. |
303 | 303 | ||
304 | side-by-side-diffs:: | 304 | side-by-side-diffs:: |
305 | If set to "1" shows side-by-side diffs instead of unidiffs per | 305 | If set to "1" shows side-by-side diffs instead of unidiffs per |
306 | default. Default value: "0". | 306 | default. Default value: "0". |
307 | 307 | ||
308 | snapshots:: | 308 | snapshots:: |
309 | Text which specifies the default set of snapshot formats generated by | 309 | Text which specifies the default set of snapshot formats generated by |
310 | cgit. The value is a space-separated list of zero or more of the | 310 | cgit. The value is a space-separated list of zero or more of the |
311 | values "tar", "tar.gz", "tar.bz2" and "zip". Default value: none. | 311 | values "tar", "tar.gz", "tar.bz2", "tar.xz" and "zip". Default value: |
312 | none. | ||
312 | 313 | ||
313 | source-filter:: | 314 | source-filter:: |
314 | Specifies a command which will be invoked to format plaintext blobs | 315 | Specifies a command which will be invoked to format plaintext blobs |
315 | in the tree view. The command will get the blob content on its STDIN | 316 | in the tree view. The command will get the blob content on its STDIN |
316 | and the name of the blob as its only command line argument. The STDOUT | 317 | and the name of the blob as its only command line argument. The STDOUT |
317 | from the command will be included verbatim as the blob contents, i.e. | 318 | from the command will be included verbatim as the blob contents, i.e. |
318 | this can be used to implement e.g. syntax highlighting. Default value: | 319 | this can be used to implement e.g. syntax highlighting. Default value: |
319 | none. | 320 | none. |
320 | 321 | ||
321 | summary-branches:: | 322 | summary-branches:: |
322 | Specifies the number of branches to display in the repository "summary" | 323 | Specifies the number of branches to display in the repository "summary" |
323 | view. Default value: "10". | 324 | view. Default value: "10". |
324 | 325 | ||
325 | summary-log:: | 326 | summary-log:: |
326 | Specifies the number of log entries to display in the repository | 327 | Specifies the number of log entries to display in the repository |
327 | "summary" view. Default value: "10". | 328 | "summary" view. Default value: "10". |
328 | 329 | ||
329 | summary-tags:: | 330 | summary-tags:: |
330 | Specifies the number of tags to display in the repository "summary" | 331 | Specifies the number of tags to display in the repository "summary" |
331 | view. Default value: "10". | 332 | view. Default value: "10". |
332 | 333 | ||
333 | strict-export:: | 334 | strict-export:: |
334 | Filename which, if specified, needs to be present within the repository | 335 | Filename which, if specified, needs to be present within the repository |
335 | for cgit to allow access to that repository. This can be used to emulate | 336 | for cgit to allow access to that repository. This can be used to emulate |
336 | gitweb's EXPORT_OK and STRICT_EXPORT functionality and limit cgit's | 337 | gitweb's EXPORT_OK and STRICT_EXPORT functionality and limit cgit's |
337 | repositories to match those exported by git-daemon. This option MUST come | 338 | repositories to match those exported by git-daemon. This option MUST come |
338 | before 'scan-path'. | 339 | before 'scan-path'. |
339 | 340 | ||
340 | virtual-root:: | 341 | virtual-root:: |
341 | Url which, if specified, will be used as root for all cgit links. It | 342 | Url which, if specified, will be used as root for all cgit links. It |
342 | will also cause cgit to generate 'virtual urls', i.e. urls like | 343 | will also cause cgit to generate 'virtual urls', i.e. urls like |
343 | '/cgit/tree/README' as opposed to '?r=cgit&p=tree&path=README'. Default | 344 | '/cgit/tree/README' as opposed to '?r=cgit&p=tree&path=README'. Default |