mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-13 12:59:55 -05:00
Merge topic 'git-config-with-spaces'
ef3194a6f8ExternalProject: Quote each git --config option to handle spaces40d1d29cfaTests: Add missing ExternalProject smoke testsafc8956765Tests: Fix test_clean target missing some test directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4364
This commit is contained in:
@@ -1096,7 +1096,7 @@ function(_ep_write_gitclone_script script_filename source_dir git_EXECUTABLE git
|
||||
list(APPEND git_clone_options --progress)
|
||||
endif()
|
||||
foreach(config IN LISTS git_config)
|
||||
list(APPEND git_clone_options --config ${config})
|
||||
list(APPEND git_clone_options --config \"${config}\")
|
||||
endforeach()
|
||||
if(NOT ${git_remote_name} STREQUAL "origin")
|
||||
list(APPEND git_clone_options --origin \"${git_remote_name}\")
|
||||
|
||||
Reference in New Issue
Block a user