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.
This commit is contained in:
Fredrik Henricsson
2020-10-20 20:11:10 +02:00
parent 8e96c161f7
commit 672cfd35f0

6
.gitattributes vendored Normal file
View File

@@ -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