aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-07-17 23:09:31 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-07-17 23:09:31 -0400
commit301dfaa9daeb64c66d616efe50fac29d542c9414 (patch)
tree803bea34a5e0b9cdc417412e27fb740e34074640 /lib
parentd164b7548ab61e50d4404d1fbc0da3a8f6c0cc87 (diff)
downloadgit-301dfaa9daeb64c66d616efe50fac29d542c9414.tar.gz
git-301dfaa9daeb64c66d616efe50fac29d542c9414.tar.xz
git-gui: Let the user continue even if we cannot understand git version
Some users may do odd things, like tag their own private version of Git with an annotated tag such as 'testver', then compile that git and try to use it with git-gui. In such a case `git --version` will give us 'git version testver', which is not a numeric argument that we can pass off to our version comparsion routine. We now check that the cleaned up git version is a going to pass the version comparsion routine without failure. If it has a non-numeric component, or lacks at least a minor revision then we ask the user to confirm they really want to use this version of git within git-gui. If they do we shall assume it is git 1.5.0 and run with only the code that will support. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions