Code

git-gui: Handle git versions of the form n.n.n.GIT
authorJulian Phillips <julian@quantumfyre.co.uk>
Tue, 17 Jul 2007 21:14:06 +0000 (22:14 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 18 Jul 2007 01:48:57 +0000 (21:48 -0400)
commit91464dfb102d6143182d8f312b68486e9dceb103
tree1909733645c3bd167b1b28a98ee66c0a95f357f1
parent6eb420ef61317b2efa2993868a6302afed6ae60a
git-gui: Handle git versions of the form n.n.n.GIT

The git-gui version check doesn't handle versions of the form
n.n.n.GIT which you can get by installing from an tarball produced by
git-archive.

Without this change you get an error of the form:
'Error in startup script: expected version number but got "1.5.3.GIT"'

Signed-off-by: Julian Phillips <julian@quantumfyre.co.uk>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh