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:
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -1,4 +1,6 @@
|
||||
# Enforce LF normalization on Windows
|
||||
*.yaml eol=lf
|
||||
*.lua eol=lf
|
||||
* text=lf
|
||||
|
||||
# Custom for Visual Studio
|
||||
|
||||
Reference in New Issue
Block a user