fix: update .gitattributes file to force correct line ending on mock files

This commit is contained in:
Ryan Dowling 2021-11-12 11:34:51 +11:00
parent af9fa80ee9
commit f68511d123
No known key found for this signature in database
GPG key ID: 5539FCDB88950EFD
2 changed files with 15 additions and 12 deletions

24
.gitattributes vendored
View file

@ -26,17 +26,17 @@
# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.class binary
*.dll binary
*.ear binary
*.gif binary
*.ico binary
*.jar binary
*.jpg binary
*.jpeg binary
*.png binary
*.so binary
*.war binary
*.class binary
*.dll binary
*.ear binary
*.gif binary
*.ico binary
*.jar binary
*.jpg binary
*.jpeg binary
*.png binary
*.so binary
*.war binary
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.bat text eol=crlf

View file

@ -0,0 +1,3 @@
# These test files need to be lf as they're used as direct mocks
*.json text eol=lf
*.xml text eol=lf