author | Lars Hjemli <hjemli@gmail.com> | 2007-10-27 08:15:54 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-10-27 08:53:27 (UTC) |
commit | 6bce91be1a60b46270c69c4098a8c03f47dae63a (patch) (unidiff) | |
tree | a3f9cc7f9c87c2a4d6aebbfdece72b57f3680143 | |
parent | 763a6a09deec7290365a0072d25630daa7b417e2 (diff) | |
download | cgit-6bce91be1a60b46270c69c4098a8c03f47dae63a.zip cgit-6bce91be1a60b46270c69c4098a8c03f47dae63a.tar.gz cgit-6bce91be1a60b46270c69c4098a8c03f47dae63a.tar.bz2 |
Add descriptions of summary-branches and summary-tags to cgitrc
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgitrc | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,64 +1,74 @@ | |||
1 | ## | 1 | ## |
2 | ## cgitrc: template for /etc/cgitrc | 2 | ## cgitrc: template for /etc/cgitrc |
3 | ## | 3 | ## |
4 | 4 | ||
5 | 5 | ||
6 | ## Uncomment and set to 1 to deactivate caching of generated pages. Mostly | 6 | ## Uncomment and set to 1 to deactivate caching of generated pages. Mostly |
7 | ## usefull for testing. | 7 | ## usefull for testing. |
8 | #nocache=0 | 8 | #nocache=0 |
9 | 9 | ||
10 | 10 | ||
11 | ## Set allowed snapshot types by default. 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 | # can be any combination of zip/tar.gz/tar.bz2/tar |
13 | #snapshots=0 | 13 | #snapshots=0 |
14 | 14 | ||
15 | 15 | ||
16 | ## Enable/disable extra links to summary/log/tree per repo on index page | 16 | ## Enable/disable extra links to summary/log/tree per repo on index page |
17 | #enable-index-links=0 | 17 | #enable-index-links=0 |
18 | 18 | ||
19 | 19 | ||
20 | ## Enable/disable display of 'number of files changed' in log view | 20 | ## Enable/disable display of 'number of files changed' in log view |
21 | #enable-log-filecount=0 | 21 | #enable-log-filecount=0 |
22 | 22 | ||
23 | 23 | ||
24 | ## Enable/disable display of 'number of lines changed' in log view | 24 | ## Enable/disable display of 'number of lines changed' in log view |
25 | #enable-log-linecount=0 | 25 | #enable-log-linecount=0 |
26 | 26 | ||
27 | 27 | ||
28 | ## Enable/disable display of HEAD shortlog in summary view. Set it to maximum | 28 | ## Enable/disable display of HEAD shortlog in summary view. Set it to maximum |
29 | ## number of commits that should be displayed | 29 | ## number of commits that should be displayed |
30 | #summary-log=0 | 30 | #summary-log=0 |
31 | 31 | ||
32 | 32 | ||
33 | ## Restrict the number of branches printed in summary view. Set to 0 to | ||
34 | ## print all branches. | ||
35 | #summary-branches=0 | ||
36 | |||
37 | |||
38 | ## Restrict the number of tags printed in summary view. Set to 0 to | ||
39 | ## print all tags. | ||
40 | #summary-tags=0 | ||
41 | |||
42 | |||
33 | ## The "Idle" column on the repository index page can read a timestamp | 43 | ## The "Idle" column on the repository index page can read a timestamp |
34 | ## from the specified agefile (if this file cannot be found, the mtime | 44 | ## from the specified agefile (if this file cannot be found, the mtime |
35 | ## of HEAD is used). | 45 | ## of HEAD is used). |
36 | ## The cgit repo on hjemli.net uses the the following command in it's | 46 | ## The cgit repo on hjemli.net uses the the following command in it's |
37 | ## post-receive hook to update the age-file: | 47 | ## post-receive hook to update the age-file: |
38 | ## git-for-each-ref --format="%(committerdate)" --sort=-committerdate \ | 48 | ## git-for-each-ref --format="%(committerdate)" --sort=-committerdate \ |
39 | ## --count=1 > $GIT_DIR/info/web/last-modifie | 49 | ## --count=1 > $GIT_DIR/info/web/last-modifie |
40 | ## | 50 | ## |
41 | #agefile=info/web/last-modified | 51 | #agefile=info/web/last-modified |
42 | 52 | ||
43 | 53 | ||
44 | ## Git detects renames, but with a limit on the number of files to | 54 | ## Git detects renames, but with a limit on the number of files to |
45 | ## consider. This option can be used to specify another limit (or -1 to | 55 | ## consider. This option can be used to specify another limit (or -1 to |
46 | ## use the default limit). | 56 | ## use the default limit). |
47 | ## | 57 | ## |
48 | #renamelimit=-1 | 58 | #renamelimit=-1 |
49 | 59 | ||
50 | 60 | ||
51 | ## Specify a root for virtual urls. This makes cgit generate urls like | 61 | ## Specify a root for virtual urls. This makes cgit generate urls like |
52 | ## | 62 | ## |
53 | ## http://localhost/git/repo/log/?h=branch | 63 | ## http://localhost/git/repo/log/?h=branch |
54 | ## | 64 | ## |
55 | ## instead of | 65 | ## instead of |
56 | ## | 66 | ## |
57 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch | 67 | ## http://localhost/cgit/cgit.cgi?url=repo/log&h=branch |
58 | ## | 68 | ## |
59 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, | 69 | ## For this to work with apache, a rewrite rule must be added to httpd.conf, |
60 | ## possibly looking something like this: | 70 | ## possibly looking something like this: |
61 | ## | 71 | ## |
62 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] | 72 | ## RewriteRule ^/git/(.*)$ /cgit/cgit.cgi?url=$1 [L,QSA] |
63 | ## | 73 | ## |
64 | ## For this to work with lighttpd, the rewrite rule should look more like this: | 74 | ## For this to work with lighttpd, the rewrite rule should look more like this: |