remove gittatributes, assume core.autocrlf=false

scalafmt is configured to use lf, as your editor should be, so there is no point having git tinker with line endings
otherwise on checkout on windows source files get converted to crlf (by git) and on compile they get converted back to lf (by scalafmt)
This commit is contained in:
OlegYch 2018-06-26 17:38:05 +03:00
parent 0c3a458e99
commit f44e4bb1e9
1 changed files with 0 additions and 8 deletions

8
.gitattributes vendored
View File

@ -1,11 +1,3 @@
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.scala text
*.java text
# Exclude contraband generated files from diff (by default - you can see it if you want)
**/contraband-scala/**/* -diff merge=ours
**/contraband-scala/**/* linguist-generated=true