You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by lu...@apache.org on 2025/06/15 16:09:21 UTC

(hbase) branch branch-2 updated: HBASE-29388 mvn spotless:apply changes line endings (CRLF to LF) on Windows (#7087)

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

lupeng pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new e1e1b86e42e HBASE-29388 mvn spotless:apply changes line endings (CRLF to LF) on Windows (#7087)
e1e1b86e42e is described below

commit e1e1b86e42e14034fbffbbb13705bc26ac85c4b4
Author: Peng Lu <lu...@apache.org>
AuthorDate: Sun Jun 15 23:55:40 2025 +0800

    HBASE-29388 mvn spotless:apply changes line endings (CRLF to LF) on Windows (#7087)
    
    Signed-off-by: Nihal Jain <ni...@apache.org>
    Signed-off-by: Duo Zhang <zh...@apache.org>
---
 pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/pom.xml b/pom.xml
index a408c57189b..7d6a11a2c83 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2562,6 +2562,13 @@
             -->
             <enabled>false</enabled>
           </upToDateChecking>
+          <!--
+            On Windows, spotless might convert the line endings of these files to LF.
+            We're instructing it to respect the line ending definitions in .gitattributes
+            for these files.
+            For more details, please refer to HBASE-29388.
+          -->
+          <lineEndings>GIT_ATTRIBUTES</lineEndings>
           <!-- define a language-specific format -->
           <java>
             <excludes>