summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 13d40b6)
raw | patch | inline | side by side (parent: 13d40b6)
author | Pat Thoyts <patthoyts@users.sourceforge.net> | |
Mon, 18 May 2009 21:46:01 +0000 (22:46 +0100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Mon, 18 May 2009 22:57:29 +0000 (08:57 +1000) |
msysGit generates version strings with text appended which cannot
be used with vcompare; trying to use them generates a Tcl error.
Limit git_version to the first three digits which are the real git
version to avoid this error.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
be used with vcompare; trying to use them generates a Tcl error.
Limit git_version to the first three digits which are the real git
version to avoid this error.
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | patch | blob | history |
index 0804e6e36e90fd657a42399124c774e560ba2d57..18553904f8217848804be99f08237190eddeb7cf 100755 (executable)
--- a/gitk
+++ b/gitk
set nullfile "/dev/null"
set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}]
-set git_version [lindex [exec git version] end]
+set git_version [join [lrange [split [lindex [exec git version] end] .] 0 2] .]
set runq {}
set history {}