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:
Ashish Sadanandan
2024-01-16 14:33:28 -07:00
committed by Brad King
parent 7010eb5fea
commit 9ab1241035

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