diff options
author | Brad King <brad.king@kitware.com> | 2011-02-22 15:47:50 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-02-22 15:47:50 -0500 |
commit | 1173cc4ab2dc23a2ac51442273127d2f909f3bc8 (patch) | |
tree | 9dd12cb8433da2b9dad2aeaa7752745b346e2357 /Source/CTest/cmCTestGIT.h | |
parent | 62f816adde5312eb97724796efa8e4dff9534f54 (diff) | |
download | cmake-1173cc4ab2dc23a2ac51442273127d2f909f3bc8.tar.gz |
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 1765340d50..f4fae8f9db 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(); |