From 0b65d56ab04736aaeb7a12d76d20b046418a1331 Mon Sep 17 00:00:00 2001 From: Jonathan Coates Date: Mon, 28 Jun 2021 18:16:30 +0100 Subject: [PATCH] Prevent some files from being eol converted Closes #813 Well, hopefully. This hasn't been tested, as I don't have easy access to Windows. --- .gitattributes | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitattributes b/.gitattributes index 6e40cf02e..22ace99d3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,15 @@ # Ignore changes in generated files src/generated/resources/data/** linguist-generated src/test/server-files/structures linguist-generated + +* text=auto + +*.gradle eol=lf diff=java +*.java eol=lf diff=java +*.kt eol=lf diff=java +*.lua eol=lf +*.md eol=lf diff=markdown +*.txt eol=lf + +*.png binary +*.jar binary