gitk: Handle msysGit version during version comparisons
commit194bbf6cc8c2f3c14a920c841841d66b7667a848
authorPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 18 May 2009 21:46:01 +0000 (18 22:46 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 18 May 2009 22:57:29 +0000 (19 08:57 +1000)
tree1036a0b409ff4fdc2f92ed0aa59d5f46c428631e
parent13d40b618a78ce236d103ab14272b07305f2f7c9
gitk: Handle msysGit version during version comparisons

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>
gitk