|
diff --git a/cgitrc b/cgitrc index 054a708..0f602e4 100644 --- a/ cgitrc+++ b/ cgitrc |
|
@@ -7,32 +7,37 @@ |
7 | ## usefull for testing. |
7 | ## usefull for testing. |
8 | #nocache=0 |
8 | #nocache=0 |
9 | |
9 | |
10 | |
10 | |
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] |
35 | ## RewriteRule ^/git/([^/]+)/$ /cgit/cgit.cgi?r=$1 [L,QSA] |
40 | ## RewriteRule ^/git/([^/]+)/$ /cgit/cgit.cgi?r=$1 [L,QSA] |
36 | ## RewriteRule ^/git/([^/]+)/([^/]+)/$ /cgit/cgit.cgi?r=$1&p=$2 [L,QSA] |
41 | ## RewriteRule ^/git/([^/]+)/([^/]+)/$ /cgit/cgit.cgi?r=$1&p=$2 [L,QSA] |
37 | ## |
42 | ## |
38 | ## This setting is disabled by default. |
43 | ## This setting is disabled by default. |
|