From 84293bb4dca4d94e6043a54f0476f82799fc6f73 Mon Sep 17 00:00:00 2001 From: snoweuph Date: Tue, 31 Jan 2023 12:26:42 +0100 Subject: [PATCH] udate gitatributes --- .gitattributes | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.gitattributes b/.gitattributes index 822b784..b24c773 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,13 +1,20 @@ -# ---> Godot -# Godot-specific ignores -.import/ -export.cfg -export_presets.cfg +# Properly detect languages +*.h linguist-language=cpp +*.inc linguist-language=cpp +thirdparty/* linguist-vendored -# Imported translations (automatically generated from CSV files) -*.translation - -# Mono-specific ignores -.mono/ -data_*/ +# Normalize EOL for all files that Git considers text files +* text=auto eol=lf +# Except for bat files, which are Windows only files +*.bat eol=crlf +# And some test files where the EOL matters +*.test.txt -text +# The above only works properly for Git 2.10+, so for older versions +# we need to manually list the binary files we don't want modified. +*.icns binary +*.ico binary +*.jar binary +*.png binary +*.ttf binary +*.tza binary