Add .gitattributes. (#1798)

* Add .gitattributes.

This fixes spotlessCheck when checking out on windows with git core.eol=crlf and core.autocrlf=true.

Note that for git itself, the eol=lf next to the text=auto changes nothing, but spotless tries
enforce the core.eol line endings anyway.

* Adjust .gitattributes towards instrumentation's
This commit is contained in:
Christian Neumüller 2020-10-16 01:03:55 +02:00 committed by GitHub
parent 329d7876bd
commit 62a96ae1ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 196 additions and 189 deletions

7
.gitattributes vendored Normal file
View File

@ -0,0 +1,7 @@
* text=auto eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.jar -text
*.png -text