diff options
author | Brad King <brad.king@kitware.com> | 2011-02-22 20:47:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-02-22 20:47:50 (GMT) |
commit | 1173cc4ab2dc23a2ac51442273127d2f909f3bc8 (patch) | |
tree | 9dd12cb8433da2b9dad2aeaa7752745b346e2357 /Source/CTest/cmCTestGIT.h | |
parent | 62f816adde5312eb97724796efa8e4dff9534f54 (diff) | |
download | CMake-1173cc4ab2dc23a2ac51442273127d2f909f3bc8.zip CMake-1173cc4ab2dc23a2ac51442273127d2f909f3bc8.tar.gz CMake-1173cc4ab2dc23a2ac51442273127d2f909f3bc8.tar.bz2 |
CTest: Update Git submodules with --recursive
Fail if submodules exist and the git version is less than 1.6.5.0.
Inspired-by: Johan Björk <phb@spotify.com>
Diffstat (limited to 'Source/CTest/cmCTestGIT.h')
-rw-r--r-- | Source/CTest/cmCTestGIT.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestGIT.h b/Source/CTest/cmCTestGIT.h index 1765340..f4fae8f 100644 --- a/Source/CTest/cmCTestGIT.h +++ b/Source/CTest/cmCTestGIT.h @@ -27,6 +27,8 @@ public: virtual ~cmCTestGIT(); private: + unsigned int CurrentGitVersion; + unsigned int GetGitVersion(); std::string GetWorkingRevision(); virtual void NoteOldRevision(); virtual void NoteNewRevision(); |