summaryrefslogtreecommitdiffabout
authorStefan 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)
commit3c71f597cc932992d5c44196e90f4675a1d54e77 (patch) (unidiff)
treef651797772257c63181e2d8874845afd65f31bb1
parent0f0ab148c6d444316af10e6b4c7a60630fed45d3 (diff)
downloadcgit-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>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgitrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
index 9e8a0f2..6a79c43 100644
--- a/cgitrc
+++ b/cgitrc
@@ -39,16 +39,18 @@
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