diff options
author | Brad King <brad.king@kitware.com> | 2010-06-08 20:12:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-06-08 20:12:28 (GMT) |
commit | 2eae651acc45c303008d9870a6a4f9da3d8bcf19 (patch) | |
tree | 1732e3bf82a02231ecea4963f859394ee9de1097 /Source/CTest/cmCTestGIT.h | |
parent | 11bdc2b1a13f8bd435cdee271ce435cf533e1aa8 (diff) | |
download | CMake-2eae651acc45c303008d9870a6a4f9da3d8bcf19.zip CMake-2eae651acc45c303008d9870a6a4f9da3d8bcf19.tar.gz CMake-2eae651acc45c303008d9870a6a4f9da3d8bcf19.tar.bz2 |
ctest_update: Support custom Git update command
Define CTest configuration variable CTEST_GIT_UPDATE_CUSTOM to set a
custom command line for updating Git-managed source trees.
Diffstat (limited to 'Source/CTest/cmCTestGIT.h')
-rw-r--r-- | Source/CTest/cmCTestGIT.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestGIT.h b/Source/CTest/cmCTestGIT.h index 0b6ad2e..bdb2c62 100644 --- a/Source/CTest/cmCTestGIT.h +++ b/Source/CTest/cmCTestGIT.h @@ -32,6 +32,10 @@ private: virtual void NoteNewRevision(); virtual bool UpdateImpl(); + bool UpdateByPull(); + bool UpdateByCustom(std::string const& custom); + bool UpdateInternal(); + void LoadRevisions(); void LoadModifications(); |