From 419e63a33cf508253c40e942d97ee2af1b7e71fa Mon Sep 17 00:00:00 2001 From: Oliver Brakmann Date: Sat, 7 Mar 2015 23:34:01 +0100 Subject: [PATCH] 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. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index 3d5131db31..27d364b263 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,6 @@ # Enforce LF normalization on Windows +*.yaml eol=lf +*.lua eol=lf * text=lf # Custom for Visual Studio