Commit 8864519
authored
Make Git use LF newlines in *.java, *.properties (#765)
* Make Git use LF newlines in *.java
In .gitattributes, set crlf=input for *.java, so that:
* "git checkout" does not convert newlines, so they remain LF,
even if the system Git configuration on Windows specifies
core.autocrlf=true.
* "git add" converts CRLF to LF.
This is intended to fix the numerous checkstyle errors about CRLF
newlines that ci.jenkins.io reports when it builds the plugin on
Windows.
* Make Git use LF newlines in *.properties
ci.jenkins.io reported checkstyle CRLF errors for *.properties, too.1 parent 38cb7eb commit 8864519
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments