author | Stefan Naewe <stefan.naewe@atlas-elektronik.com> | 2008-08-05 07:20:07 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2008-08-05 07:36:31 (UTC) |
commit | 3c71f597cc932992d5c44196e90f4675a1d54e77 (patch) (unidiff) | |
tree | f651797772257c63181e2d8874845afd65f31bb1 | |
parent | 0f0ab148c6d444316af10e6b4c7a60630fed45d3 (diff) | |
download | cgit-3c71f597cc932992d5c44196e90f4675a1d54e77.zip cgit-3c71f597cc932992d5c44196e90f4675a1d54e77.tar.gz cgit-3c71f597cc932992d5c44196e90f4675a1d54e77.tar.bz2 |
cgitrc: explain new local-time option
Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgitrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -23,48 +23,50 @@ | |||
23 | 23 | ||
24 | 24 | ||
25 | ## Enable/disable display of 'number of files changed' in log view | 25 | ## Enable/disable display of 'number of files changed' in log view |
26 | #enable-log-filecount=0 | 26 | #enable-log-filecount=0 |
27 | 27 | ||
28 | 28 | ||
29 | ## Enable/disable display of 'number of lines changed' in log view | 29 | ## Enable/disable display of 'number of lines changed' in log view |
30 | #enable-log-linecount=0 | 30 | #enable-log-linecount=0 |
31 | 31 | ||
32 | 32 | ||
33 | ## Enable/disable display of HEAD shortlog in summary view. Set it to maximum | 33 | ## Enable/disable display of HEAD shortlog in summary view. Set it to maximum |
34 | ## number of commits that should be displayed | 34 | ## number of commits that should be displayed |
35 | #summary-log=0 | 35 | #summary-log=0 |
36 | 36 | ||
37 | 37 | ||
38 | ## Restrict the number of branches printed in summary view. Set to 0 to | 38 | ## Restrict the number of branches printed in summary view. Set to 0 to |
39 | ## print all branches. | 39 | ## print all branches. |
40 | #summary-branches=0 | 40 | #summary-branches=0 |
41 | 41 | ||
42 | 42 | ||
43 | ## Restrict the number of tags printed in summary view. Set to 0 to | 43 | ## Restrict the number of tags printed in summary view. Set to 0 to |
44 | ## print all tags. | 44 | ## print all tags. |
45 | #summary-tags=0 | 45 | #summary-tags=0 |
46 | 46 | ||
47 | ## Enable/disable display of localtime vs. GMT. Set to 1 for localtime. | ||
48 | #local-time=0 | ||
47 | 49 | ||
48 | ## The "Idle" column on the repository index page can read a timestamp | 50 | ## The "Idle" column on the repository index page can read a timestamp |
49 | ## from the specified agefile (if this file cannot be found, the mtime | 51 | ## from the specified agefile (if this file cannot be found, the mtime |
50 | ## of HEAD is used). | 52 | ## of HEAD is used). |
51 | ## The cgit repo on hjemli.net uses the the following command in it's | 53 | ## The cgit repo on hjemli.net uses the the following command in it's |
52 | ## post-receive hook to update the age-file: | 54 | ## post-receive hook to update the age-file: |
53 | ## git-for-each-ref --format="%(committerdate)" --sort=-committerdate \ | 55 | ## git-for-each-ref --format="%(committerdate)" --sort=-committerdate \ |
54 | ## --count=1 > $GIT_DIR/info/web/last-modifie | 56 | ## --count=1 > $GIT_DIR/info/web/last-modifie |
55 | ## | 57 | ## |
56 | #agefile=info/web/last-modified | 58 | #agefile=info/web/last-modified |
57 | 59 | ||
58 | 60 | ||
59 | ## Git detects renames, but with a limit on the number of files to | 61 | ## Git detects renames, but with a limit on the number of files to |
60 | ## consider. This option can be used to specify another limit (or -1 to | 62 | ## consider. This option can be used to specify another limit (or -1 to |
61 | ## use the default limit). | 63 | ## use the default limit). |
62 | ## | 64 | ## |
63 | #renamelimit=-1 | 65 | #renamelimit=-1 |
64 | 66 | ||
65 | 67 | ||
66 | ## Specify a root for virtual urls. This makes cgit generate urls like | 68 | ## Specify a root for virtual urls. This makes cgit generate urls like |
67 | ## | 69 | ## |
68 | ## http://localhost/git/repo/log/?h=branch | 70 | ## http://localhost/git/repo/log/?h=branch |
69 | ## | 71 | ## |
70 | ## instead of | 72 | ## instead of |