fix: update .gitattributes file to force correct line ending on mock files
This commit is contained in:
parent
af9fa80ee9
commit
f68511d123
2 changed files with 15 additions and 12 deletions
24
.gitattributes
vendored
24
.gitattributes
vendored
|
@ -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
|
||||
|
|
3
src/test/resources/mocks/.gitattributes
vendored
Normal file
3
src/test/resources/mocks/.gitattributes
vendored
Normal 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
|
Loading…
Reference in a new issue