From 9aa632b892a28d42c5aaa7abc55fe3dcc6e7de1a Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Wed, 15 Sep 2021 19:06:46 +0200 Subject: [PATCH] CI: change crlf to lf in worktree in windows-cygwin-cmake-build Replace crlf with lf in all text files in the worktree before starting Cygwin. This will allow an upcoming commit to stop exporting SHELLOPTS = "igncr" which has some negative side effects explained in that commit. --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38079e987..c72c03544 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -700,6 +700,9 @@ windows-cygwin-cmake-build: stage: build needs: [] script: + # change line endings from crlf to lf + - git rm --cached -r . + - git -c core.autocrlf=false reset --hard - choco install --yes --no-progress cygwin # avoid BOM in COLLECTION file - echo experimental | Out-File COLLECTION -Encoding ascii -- 2.40.0