From 48015c7745f4ef3b73034383f24a6f8a95a0921f Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Thu, 31 Mar 2016 08:14:07 -0400 Subject: Set git line-ending config globally for Travis builds. It looks like Git 1.8 does not respect superproject settings when checking out submodules. --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 67045151df..16e2fa82ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,8 +84,8 @@ before_script: - | if [[ "${RELEASE_BUILD}" == "LF" ]]; then cd "${TRAVIS_BUILD_DIR}" - git config core.eol lf - git config core.autocrlf input + git config --global core.eol lf + git config --global core.autocrlf input git rm --cache -r . git reset --quiet --hard HEAD git submodule update --init --recursive @@ -93,8 +93,8 @@ before_script: - | if [[ "${RELEASE_BUILD}" == "CRLF" ]]; then cd "${TRAVIS_BUILD_DIR}" - git config core.eol crlf - git config core.autocrlf true + git config --global core.eol crlf + git config --global core.autocrlf true git rm --cache -r . git reset --quiet --hard HEAD git submodule update --init --recursive -- cgit v1.2.1