summaryrefslogtreecommitdiffabout
path: root/cgitrc
authorMichael Krelin <hacker@klever.net>2007-07-21 16:00:53 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-21 16:00:53 (UTC)
commitdc3c9b5bc48779f37f2fbcbadce8865eaf4a360e (patch) (side-by-side diff)
treee42607f85bfb3ca33dff761a3966c502cdd6868e /cgitrc
parent97c025ae8ecf9764fd6996c81c51c3de4adb837c (diff)
downloadcgit-dc3c9b5bc48779f37f2fbcbadce8865eaf4a360e.zip
cgit-dc3c9b5bc48779f37f2fbcbadce8865eaf4a360e.tar.gz
cgit-dc3c9b5bc48779f37f2fbcbadce8865eaf4a360e.tar.bz2
allow selective enabling of snapshots
snapshot configuration parameter now can be a space/slash/comma/colon/semicolon/pipe-separated list of snaphot suffixes as listed in ui-snapshot.c Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'cgitrc') (more/less context) (show whitespace changes)
-rw-r--r--cgitrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/cgitrc b/cgitrc
index 40877f8..1040997 100644
--- a/cgitrc
+++ b/cgitrc
@@ -1,23 +1,24 @@
##
## cgitrc: template for /etc/cgitrc
##
## Uncomment and set to 1 to deactivate caching of generated pages. Mostly
## usefull for testing.
#nocache=0
-## Enable/disable snapshots by default. This can be overridden per repo
+## Set allowed snapshot types by default. Can be overridden per repo
+# can be any combination of zip/tar.gz/tar.bz2/tar
#snapshots=0
## Enable/disable extra links to summary/log/tree per repo on index page
#enable-index-links=0
## Enable/disable display of 'number of files changed' in log view
#enable-log-filecount=0
## Enable/disable display of 'number of lines changed' in log view
@@ -104,17 +105,17 @@
## ttl for static pages (addressed by SHA-1)
#cache-static-ttl=-1
## Example repository entry. Required values are repo.url and repo.path (each
## repository section must start with repo.url).
#repo.url=cgit
#repo.name=cgit
#repo.desc=the caching cgi for git
#repo.path=/pub/git/cgit
#repo.owner=Lars Hjemli
-#repo.snapshots=1 # override a sitewide snapshot-setting
+#repo.snapshots=tar.bz2 # override a sitewide snapshot-setting
#repo.enable-log-filecount=0 # override the default filecount setting
#repo.enable-log-linecount=0 # override the default linecount setting
#repo.module-link=/git/%s/commit/?id=%s # override the standard module-link
#repo.readme=info/web/readme # specify a file to include on summary page