git-gui: Basic version check to ensure git 1.5.0 or later is used.
commit54acdd95b81d3675381a749e7cd7fc14956853c3
authorShawn O. Pearce <spearce@spearce.org>
Wed, 14 Feb 2007 04:15:25 +0000 (13 23:15 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 14 Feb 2007 04:15:25 +0000 (13 23:15 -0500)
tree176aec1e0ceb65c1be2c00f955dd004a90774ca4
parent81347223066fee64997cbb731925bc8c1abd35d7
git-gui: Basic version check to ensure git 1.5.0 or later is used.

This is a very crude (but hopefully effective) check against the
`git` executable found in our PATH.  Some of the subcommands and
options that git-gui requires to be present to operate were created
during the 1.5.0 development cycle, so 1.5 is the minimum version
of git that we can expect to support.

There actually are early releases of 1.5 (e.g. 1.5.0-rc0) that
don't have everything we expect (like `blame --incremental`) but
these are purely academic at this point.  1.5.0 final was tagged
and released just a few hours ago.  The release candidates will
(hopefully) fade into the dark quickly.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh