diff options
author | Ashish Sadanandan <asadanan@qti.qualcomm.com> | 2024-01-16 21:33:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-17 15:11:41 (GMT) |
commit | 9ab1241035c8e88f93b01bdc93f47d7bdc4c9df3 (patch) | |
tree | 99ce486bfc18f69d2a247a24f5dead58858e9a1f /Tests | |
parent | 7010eb5feaf94470abeb058a77b0af80d043f157 (diff) | |
download | CMake-9ab1241035c8e88f93b01bdc93f47d7bdc4c9df3.zip CMake-9ab1241035c8e88f93b01bdc93f47d7bdc4c9df3.tar.gz CMake-9ab1241035c8e88f93b01bdc93f47d7bdc4c9df3.tar.bz2 |
Tests: Improve CTest.UpdateGIT robustness to user gitconfig
Previously the test failed when the user's gitconfig has
`push.default=nothing` set.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CTestUpdateGIT.cmake.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CTestUpdateGIT.cmake.in b/Tests/CTestUpdateGIT.cmake.in index 7fddaa3..5e3448b 100644 --- a/Tests/CTestUpdateGIT.cmake.in +++ b/Tests/CTestUpdateGIT.cmake.in @@ -193,7 +193,7 @@ run_child( ) run_child( WORKING_DIRECTORY ${TOP}/user-source - COMMAND ${GIT} push origin + COMMAND ${GIT} push origin HEAD ) #----------------------------------------------------------------------------- @@ -214,7 +214,7 @@ run_child( ) run_child( WORKING_DIRECTORY ${TOP}/user-source - COMMAND ${GIT} push origin + COMMAND ${GIT} push origin HEAD ) #----------------------------------------------------------------------------- |