You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by us...@apache.org on 2021/07/06 14:26:09 UTC

[solr] branch main updated: Fix line endings and enforce LF for all java files

This is an automated email from the ASF dual-hosted git repository.

uschindler pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 65e5f9c  Fix line endings and enforce LF for all java files
65e5f9c is described below

commit 65e5f9c106cb560ce8d80803498b266e3688e8a5
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Tue Jul 6 16:26:00 2021 +0200

    Fix line endings and enforce LF for all java files
---
 solr/.gitattributes | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/solr/.gitattributes b/solr/.gitattributes
index b343da9..108fefa 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