aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc
diff options
context:
space:
mode:
authorGravatar Michael Krelin <hacker@klever.net>2007-07-22 01:00:53 (JST)
committerGravatar Michael Krelin <hacker@klever.net>2007-07-22 01:00:53 (JST)
commitdc3c9b5bc48779f37f2fbcbadce8865eaf4a360e (patch)
treee42607f85bfb3ca33dff761a3966c502cdd6868e /cgitrc
parent97c025ae8ecf9764fd6996c81c51c3de4adb837c (diff)
downloadcgit-dc3c9b5bc48779f37f2fbcbadce8865eaf4a360e.zip
cgit-dc3c9b5bc48779f37f2fbcbadce8865eaf4a360e.tar.gz
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')
-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
@@ -8,7 +8,8 @@
8#nocache=0 8#nocache=0
9 9
10 10
11## Enable/disable snapshots by default. This can be overridden per repo 11## Set allowed snapshot types by default. Can be overridden per repo
12# can be any combination of zip/tar.gz/tar.bz2/tar
12#snapshots=0 13#snapshots=0
13 14
14 15
@@ -113,7 +114,7 @@
113#repo.desc=the caching cgi for git 114#repo.desc=the caching cgi for git
114#repo.path=/pub/git/cgit 115#repo.path=/pub/git/cgit
115#repo.owner=Lars Hjemli 116#repo.owner=Lars Hjemli
116#repo.snapshots=1 # override a sitewide snapshot-setting 117#repo.snapshots=tar.bz2 # override a sitewide snapshot-setting
117#repo.enable-log-filecount=0 # override the default filecount setting 118#repo.enable-log-filecount=0 # override the default filecount setting
118#repo.enable-log-linecount=0 # override the default linecount setting 119#repo.enable-log-linecount=0 # override the default linecount setting
119#repo.module-link=/git/%s/commit/?id=%s # override the standard module-link 120#repo.module-link=/git/%s/commit/?id=%s # override the standard module-link