From: Grant Slater Date: Tue, 7 Sep 2021 09:46:29 +0000 (+0100) Subject: Add gitattribute to force lf line endings X-Git-Tag: live~1941^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/40d7a0bc27a991a5360a99e823dc75f3ec19fde9?hp=55e6d537ce55fdd42cd690f0393f045b21690312 Add gitattribute to force lf line endings --- diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..5be0fcdf6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,17 @@ +# text=auto is only correctly supported in git 2.10.0 +# https://github.com/git/git/blob/master/Documentation/RelNotes/2.10.0.txt#L248 +# * text=auto eol=lf +*.sh text eol=lf +*.sql text eol=lf +*.rb text eol=lf +*.erb text eol=lf +*.json text eol=lf +*.yml text eol=lf +*.builder text eol=lf +*.js text eol=lf +*.jbuilder text eol=lf +*.svg text eol=lf +*.css text eol=lf +*.scss text eol=lf +*.png binary +*.gif binary