From: Brian Downing Date: Tue, 17 Jul 2007 21:40:12 GMT Subject: Re: [PATCH] git-gui: Handle git versions of the form n.n.n.GIT Message-ID: <20070717214011.GU19073@lavos.net> In-Reply-To: <20070717212103.11950.10363.julian@quantumfyre.co.uk> On Tue, Jul 17, 2007 at 10:14:06PM +0100, Julian Phillips wrote: > 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"' Can we handle versions with '-dirty' at the end as well, or is this ill-advised? For some reason when I build my hacked-up personal debian packages it usually winds up: :; git --version git version 1.5.3.GIT-dirty and I haven't bothered to find out why. -bcd