summaryrefslogtreecommitdiffabout
path: root/cgitrc
Unidiff
Diffstat (limited to 'cgitrc') (more/less context) (ignore whitespace changes)
-rw-r--r--cgitrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
index 054a708..0f602e4 100644
--- a/cgitrc
+++ b/cgitrc
@@ -11,24 +11,29 @@
11## Enable/disable snapshots by default. This can be overridden per repo 11## Enable/disable snapshots by default. This can be overridden per repo
12#snapshots=0 12#snapshots=0
13 13
14 14
15## Enable/disable display of 'number of files changed' in log view 15## Enable/disable display of 'number of files changed' in log view
16#enable-log-filecount=0 16#enable-log-filecount=0
17 17
18 18
19## Enable/disable display of 'number of lines changed' in log view 19## Enable/disable display of 'number of lines changed' in log view
20#enable-log-linecount=0 20#enable-log-linecount=0
21 21
22 22
23## Enable/disable display of HEAD shortlog in summary view. Set it to maximum
24## number of commits that should be displayed
25#summary-log=0
26
27
23## Specify a root for virtual urls. This makes cgit generate urls like 28## Specify a root for virtual urls. This makes cgit generate urls like
24## 29##
25## http://localhost/git/repo/log/?id=master 30## http://localhost/git/repo/log/?id=master
26## 31##
27## instead of 32## instead of
28## 33##
29## http://localhost/cgit/cgit.cgi?r=repo&p=log&id=master 34## http://localhost/cgit/cgit.cgi?r=repo&p=log&id=master
30## 35##
31## For this to work with apache, rewrite rules must be added to httpd.conf, 36## For this to work with apache, rewrite rules must be added to httpd.conf,
32## possibly looking something like this: 37## possibly looking something like this:
33## 38##
34## RewriteRule ^/git/$ /cgit/cgit.cgi [L,QSA] 39## RewriteRule ^/git/$ /cgit/cgit.cgi [L,QSA]