Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fix line endings and enforce LF for all java files

Uwe Schindler65e5f9c106cb
diff --git a/solr/.gitattributes b/solr/.gitattributes
index b343da9df42..108fefa79c4 100644
--- a/solr/.gitattributes
+++ b/solr/.gitattributes
@@ -16,7 +16,6 @@
# Handles all files not treated particularly below
* text=auto
-
# -nix specific
bin/solr text eol=lf
bin/init.d/solr text eol=lf
@@ -29,6 +28,9 @@ bin/post text eol=lf
*.cmd text eol=crlf
*.ps1 text eol=crlf
+# Java files, because they are reformatted by spotless
+*.java text eol=lf
+
# Graphics - no eol normalization
*.png binary
*.jpg binary