jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lemasle <notificati...@github.com>
Subject [jclouds] Add .gitattributes to avoid line endings issues (#864)
Date Sun, 04 Oct 2015 19:20:49 GMT
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.
You can view, comment on, or merge this pull request online at:

  https://github.com/jclouds/jclouds/pull/864

-- Commit Summary --

  * Add .gitattributes to avoid line endings issues

-- File Changes --

    A .gitattributes (2)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/864.patch
https://github.com/jclouds/jclouds/pull/864.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/864

Mime
View raw message