From 8ae31e80beb2a3f9b2f8682c2e6488e90aa01de9 Mon Sep 17 00:00:00 2001 From: florianvazelle Date: Sun, 4 Feb 2024 10:27:22 +0100 Subject: [PATCH] chore: better gitattributes --- .gitattributes | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 4ac4a23..dd8a1d7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,11 @@ +# Properly detect languages on Github. +*.gd linguist-language=GDScript + # Normalize EOL for all files that Git considers text files. * text=auto eol=lf -*.gd linguist-language=GDScript + +# 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. +*.mp3 binary +*.png binary *.hdr binary