summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2011-03-26 12:40:20 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2011-03-26 12:40:20 (UTC)
commit4d2a303c3e198c91cb6635eb66fa6f0a6c0277cc (patch) (unidiff)
tree5899d767fad63be064052572287ca03b7f468238
parentf15c5833d2190bc62e0e1e3e9753ef33230ecd53 (diff)
downloadcgit-4d2a303c3e198c91cb6635eb66fa6f0a6c0277cc.zip
cgit-4d2a303c3e198c91cb6635eb66fa6f0a6c0277cc.tar.gz
cgit-4d2a303c3e198c91cb6635eb66fa6f0a6c0277cc.tar.bz2
cgitrc.5: tar.xz is a supported snapshot format
When tar.xz support was added in 0642435fed (2009-12-08: Add .tar.xz-snapshot support), cgitrc.5 was not updated to match. This patch fixes the issue. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgitrc.5.txt3
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
@@ -263,97 +263,98 @@ robots::
263 263
264root-desc:: 264root-desc::
265 Text printed below the heading on the repository index page. Default 265 Text printed below the heading on the repository index page. Default
266 value: "a fast webinterface for the git dscm". 266 value: "a fast webinterface for the git dscm".
267 267
268root-readme:: 268root-readme::
269 The content of the file specified with this option will be included 269 The content of the file specified with this option will be included
270 verbatim below the "about" link on the repository index page. Default 270 verbatim below the "about" link on the repository index page. Default
271 value: none. 271 value: none.
272 272
273root-title:: 273root-title::
274 Text printed as heading on the repository index page. Default value: 274 Text printed as heading on the repository index page. Default value:
275 "Git Repository Browser". 275 "Git Repository Browser".
276 276
277scan-hidden-path:: 277scan-hidden-path::
278 If set to "1" and scan-path is enabled, scan-path will recurse into 278 If set to "1" and scan-path is enabled, scan-path will recurse into
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
285scan-path:: 285scan-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
293section:: 293section::
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
298section-from-path:: 298section-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
304side-by-side-diffs:: 304side-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
308snapshots:: 308snapshots::
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
313source-filter:: 314source-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
321summary-branches:: 322summary-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
325summary-log:: 326summary-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
329summary-tags:: 330summary-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
333strict-export:: 334strict-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
340virtual-root:: 341virtual-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
344 value: none. 345 value: none.
345 NOTE: cgit has recently learned how to use PATH_INFO to achieve the 346 NOTE: cgit has recently learned how to use PATH_INFO to achieve the
346 same kind of virtual urls, so this option will probably be deprecated. 347 same kind of virtual urls, so this option will probably be deprecated.
347 348
348REPOSITORY SETTINGS 349REPOSITORY SETTINGS
349------------------- 350-------------------
350repo.about-filter:: 351repo.about-filter::
351 Override the default about-filter. Default value: none. See also: 352 Override the default about-filter. Default value: none. See also:
352 "enable-filter-overrides". 353 "enable-filter-overrides".
353 354
354repo.clone-url:: 355repo.clone-url::
355 A list of space-separated urls which can be used to clone this repo. 356 A list of space-separated urls which can be used to clone this repo.
356 Default value: none. 357 Default value: none.
357 358
358repo.commit-filter:: 359repo.commit-filter::
359 Override the default commit-filter. Default value: none. See also: 360 Override the default commit-filter. Default value: none. See also: