diff options
author | Brad King <brad.king@kitware.com> | 2010-06-08 20:37:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-06-08 20:50:17 (GMT) |
commit | c3781efb28a35f54ed6306354330734994f2c8b1 (patch) | |
tree | 3612ad00fb1dc19bf6e216fc19288c993f222765 /ChangeLog.manual | |
parent | 2eae651acc45c303008d9870a6a4f9da3d8bcf19 (diff) | |
download | CMake-c3781efb28a35f54ed6306354330734994f2c8b1.zip CMake-c3781efb28a35f54ed6306354330734994f2c8b1.tar.gz CMake-c3781efb28a35f54ed6306354330734994f2c8b1.tar.bz2 |
ctest_update: Support Git upstream branch rewrites
Use 'git fetch' followed by 'git reset' to update the source tree. This
is better than 'git pull' because it can handle a rewritten upstream
branch and does not leave local modifications. After fetch, parse
FETCH_HEAD to find the merge head that 'git pull' would choose to track
the upstream branch. Then reset to the selected head.
In the normal fast-forward case the behavior remains unchanged.
However, now local modifications and commits will be erased, and
upstream rewrites are handled smoothly. This ensures that the upstream
branch is tested as expected.
Diffstat (limited to 'ChangeLog.manual')
-rw-r--r-- | ChangeLog.manual | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ChangeLog.manual b/ChangeLog.manual index 29162e9..b935860 100644 --- a/ChangeLog.manual +++ b/ChangeLog.manual @@ -15,6 +15,7 @@ Changes since CMake 2.8.1 - CTest: Report failure in Update.xml - CTest: Submit author email in Update.xml - CTest: Teach ctest_update about Git submodules +- CTest: Teach ctest_update to handle Git upstream branch rewrites - Cygwin: Export all symbols with ENABLE_EXPORTS (#10122) - Do not list file names during 'cmake -E tar xz' - Documentation: Comply with "XHTML 1.0 Strict" |