Merge topic 'CTestUpdateGit-safecrlf'

5c153c6 Make CTest.UpdateGIT robust to Git safecrlf on Windows
This commit is contained in:
David Cole 2012-06-21 11:55:05 -04:00 committed by CMake Topic Stage
commit 4870918c48
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ ${AUTHOR_CONFIG}")
run_child(WORKING_DIRECTORY ${TOP}/import run_child(WORKING_DIRECTORY ${TOP}/import
COMMAND ${GIT} add . COMMAND ${GIT} add .
) )
run_child(WORKING_DIRECTORY ${TOP}/import
COMMAND ${GIT} config core.safecrlf false
)
run_child(WORKING_DIRECTORY ${TOP}/import run_child(WORKING_DIRECTORY ${TOP}/import
COMMAND ${GIT} submodule add ${MOD_REPO} module COMMAND ${GIT} submodule add ${MOD_REPO} module
) )