From 672cfd35f06139a1b3b8a36ffad4f60b33594584 Mon Sep 17 00:00:00 2001 From: Fredrik Henricsson Date: Tue, 20 Oct 2020 20:11:10 +0200 Subject: [PATCH] Normalize line endings for .bat files When updating the Gradle wrapper's .bat file, the line endings were replaced with ^M instead of keeping the existing CRLF ending. A few samples were already using a .gitattributes file to explicitely set the line endings for .bat files to CRLF. Move the .gitattributes file to the root folder and delete the sample specific files. --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..00a51aff5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +# +# https://help.github.com/articles/dealing-with-line-endings/ +# +# These are explicitly windows files and should use crlf +*.bat text eol=crlf +