mirror of
https://github.com/apache/jclouds.git
synced 2025-02-17 15:35:44 +00:00
Add .gitattributes to avoid line endings issues
Since commit 56e687f4979d, Linux line endings (LF) are enforced. But on Windows, a common practice is to set core.autocrlf to 'auto', wich mean that the local copy of the file has Windows line endings, whereas the remote copy has Linux line endings (cf. https://help.github.com/articles/dealing-with-line-endings/#platform-windows). With core.autoclrf=auto, Checkstyle will throw an error because local files will have Windows line endings. This setting will set Linux line endings for all text files, except .cmd files.
This commit is contained in:
parent
9cd78bfcd4
commit
0aed121fa7
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
* text eol=lf
|
||||
*.cmd binary
|
Loading…
x
Reference in New Issue
Block a user