Use autodetection for text files

This commit is contained in:
Tom Hughes 2021-09-12 18:51:51 +01:00
parent 537ec347da
commit b11957a395

18
.gitattributes vendored
View file

@ -1,17 +1 @@
# 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
* text=auto eol=lf