mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 21:00:17 -06:00
Merge topic 'ExternalProject-checkout-clarify'
a9fa6a2c ExternalProject: Run `git checkout` with `--` to clarify arguments
This commit is contained in:
@@ -601,7 +601,7 @@ if(error_code)
|
||||
endif()
|
||||
|
||||
execute_process(
|
||||
COMMAND \"${git_EXECUTABLE}\" \${git_options} checkout ${git_tag}
|
||||
COMMAND \"${git_EXECUTABLE}\" \${git_options} checkout ${git_tag} --
|
||||
WORKING_DIRECTORY \"${work_dir}/${src_name}\"
|
||||
RESULT_VARIABLE error_code
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user