aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-22 01:55:15 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-22 01:55:15 -0800
commit302ebfe52192fff9a2c1c612dff22325fd073acc (patch)
treeb15356ec4f434e1580cf168b5398329b65a9bd53
parentc7d77dab9333112cfce8cce51e56005b5e8b4076 (diff)
parent757f17bca50f4a227db2974dd8fd10c8b61a69f1 (diff)
downloadgit-302ebfe52192fff9a2c1c612dff22325fd073acc.tar.gz
git-302ebfe52192fff9a2c1c612dff22325fd073acc.tar.xz
Merge http://www.kernel.org/pub/scm/gitk/gitk
-rwxr-xr-xgitk6
1 files changed, 5 insertions, 1 deletions
diff --git a/gitk b/gitk
index 58b4abc69..3dd97e291 100755
--- a/gitk
+++ b/gitk
@@ -3636,8 +3636,11 @@ proc doquit {} {
}
proc formatdate {d} {
- global hours nhours tfd
+ global hours nhours tfd fastdate
+ if {!$fastdate} {
+ return [clock format $d -format "%Y-%m-%d %H:%M:%S"]
+ }
set hr [expr {$d / 3600}]
set ms [expr {$d % 3600}]
if {![info exists hours($hr)]} {
@@ -3662,6 +3665,7 @@ set gaudydiff 0
set maxgraphpct 50
set maxwidth 16
set revlistorder 0
+set fastdate 0
set colors {green red blue magenta darkgrey brown orange}