author | Ondrej Jirman <ondrej.jirman@zonio.net> | 2007-05-26 01:33:41 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-05-31 08:25:48 (UTC) |
commit | 51a960a3ca6b0cade97db287a342996c3e1de48d (patch) (unidiff) | |
tree | d3360cd301c9e13d7aa9492e6628bf8d71736608 /cgitrc | |
parent | 6130231ed5e7475836a44d79d5f09e300e71a407 (diff) | |
download | cgit-51a960a3ca6b0cade97db287a342996c3e1de48d.zip cgit-51a960a3ca6b0cade97db287a342996c3e1de48d.tar.gz cgit-51a960a3ca6b0cade97db287a342996c3e1de48d.tar.bz2 |
Implemented configurable HEAD shortlog on summary page.
This mirrors similiar functionality in gitweb. After clicking on
project on projectlist you will immediatelly see quick summary
of last N commits on HEAD.
[lh: changed from HEAD to cgit_query_head]
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgitrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. |