summaryrefslogtreecommitdiff
path: root/Source/CTest/cmCTestGIT.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-02-22 15:47:50 -0500
committerBrad King <brad.king@kitware.com>2011-02-22 15:47:50 -0500
commit1173cc4ab2dc23a2ac51442273127d2f909f3bc8 (patch)
tree9dd12cb8433da2b9dad2aeaa7752745b346e2357 /Source/CTest/cmCTestGIT.h
parent62f816adde5312eb97724796efa8e4dff9534f54 (diff)
downloadcmake-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.h2
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();