Ensure LF line ending for .yaml files for hash consistency across platforms

Without this change, the git client will auto-convert the line endings to CRLF, which leads to hash mismatches for unpacked maps, which would be especially bad if we were going to build the Windows package on a Windows system.

Adds the same rule for .lua files as well, in preparation for a change that will make those contribute to the map hash.
This commit is contained in:
Oliver Brakmann
2015-03-07 23:34:01 +01:00
parent 04fff1da72
commit 419e63a33c

2
.gitattributes vendored
View File

@@ -1,4 +1,6 @@
# Enforce LF normalization on Windows
*.yaml eol=lf
*.lua eol=lf
* text=lf
# Custom for Visual Studio