summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2016-03-31 16:31:31 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-01 19:50:27 (GMT)
commit56c1ea40c5e278155025f3823089e2d0fa34054a (patch)
tree8d90400d90c9ecfc0e91575ce79ee5ce70176ab8 /Source/CTest
parent90f24f016e93d18f6a244b39fd21c68355bdbe48 (diff)
downloadCMake-56c1ea40c5e278155025f3823089e2d0fa34054a.zip
CMake-56c1ea40c5e278155025f3823089e2d0fa34054a.tar.gz
CMake-56c1ea40c5e278155025f3823089e2d0fa34054a.tar.bz2
cmCTestGIT: fix git version references
Git does not use a 4-component version number.
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestGIT.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestGIT.cxx b/Source/CTest/cmCTestGIT.cxx
index bbb3b9d..da086be 100644
--- a/Source/CTest/cmCTestGIT.cxx
+++ b/Source/CTest/cmCTestGIT.cxx
@@ -274,14 +274,14 @@ bool cmCTestGIT::UpdateImpl()
const char* git = this->CommandLineTool.c_str();
const char* recursive = "--recursive";
- // Git < 1.6.5.0 did not support --recursive
+ // Git < 1.6.5 did not support submodule --recursive
if(this->GetGitVersion() < cmCTestGITVersion(1,6,5,0))
{
recursive = 0;
- // No need to require >= 1.6.5.0 if there are no submodules.
+ // No need to require >= 1.6.5 if there are no submodules.
if(cmSystemTools::FileExists((top_dir + "/.gitmodules").c_str()))
{
- this->Log << "Git < 1.6.5.0 cannot update submodules recursively\n";
+ this->Log << "Git < 1.6.5 cannot update submodules recursively\n";
}
}