diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Add `enable-relative-dates` and `date-format`
Diffstat (limited to '')
-rw-r--r--custom/cgitrc9
1 file changed, 9 insertions, 0 deletions
diff --git a/custom/cgitrc b/custom/cgitrc
index fd4ac34..d456301 100644
--- a/custom/cgitrc
+++ b/custom/cgitrc
@@ -213,6 +213,10 @@ enable-log-filecount=0
# Default is 0.
enable-log-linecount=0
+# Show ages in the log, refs and index columns as an elapsed time such as
+# "3 days" rather than a calendar date. Values are 0 or 1. Default is 1.
+enable-relative-dates=1
+
# Display remote branches in summary and refs views. Values are 0 or 1.
# Default is 0.
enable-remote-branches=0
@@ -384,6 +388,11 @@ side-by-side-diffs=0
# Default is 0.
local-time=0
+# Format for the calendar dates in the age columns. Accepts the names git
+# takes for --date, such as short, iso8601, rfc2822, human and unix, each of
+# which may carry a -local suffix, plus format:<strftime>. Default is short.
+date-format=short
+
# Ordering of commits in the log view. Leaving this unset uses the git log
# default. Values are date or topo. Default is unset.
#commit-sort=date