From a4486567d8ea3feaf01479b7e4ee0c57593eb4da Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sat, 8 Feb 2020 09:14:23 -0800 Subject: [PATCH] CI: attempt to fix the index for swift The file endings matter for some of the tests. Try a different approach to refreshing the index. --- utils/build-windows.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/build-windows.bat b/utils/build-windows.bat index 1fcb8a3d4a186..7bfc589f89c86 100644 --- a/utils/build-windows.bat +++ b/utils/build-windows.bat @@ -82,7 +82,7 @@ setlocal enableextensions enabledelayedexpansion git -C "%source_root%\swift" config --local core.autocrlf input git -C "%source_root%\swift" config --local core.symlink true -git -C "%source_root%\swift" checkout HEAD +git -C "%source_root%\swift" checkout-index --force --all git clone --depth 1 --single-branch https://github.com/apple/swift-cmark cmark %exitOnError% git clone --depth 1 --single-branch --branch swift/master https://github.com/apple/llvm-project llvm-project %exitOnError%