mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-17 20:20:23 -06:00
Tests: Improve CTest.UpdateGIT robustness to user gitconfig
Previously the test failed when the user's gitconfig has `push.default=nothing` set.
This commit is contained in:
committed by
Brad King
parent
7010eb5fea
commit
9ab1241035
@@ -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
|
||||
)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user