Tests: Improve CTest.UpdateGIT robustness to user gitconfig

Previously the test failed when the user's gitconfig has
`push.default=nothing` set.
stage/master/nightly/2024/01/18
Ashish Sadanandan 2024-01-16 14:33:28 -07:00 committed by Brad King
parent 7010eb5fea
commit 9ab1241035
1 changed files with 2 additions and 2 deletions

View File

@ -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
)
#-----------------------------------------------------------------------------