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:13:15 UTC
(hbase) branch branch-2.5 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.5
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.5 by this push:
new 720c10d5ea8 HBASE-29388 mvn spotless:apply changes line endings (CRLF to LF) on Windows (#7087)
720c10d5ea8 is described below
commit 720c10d5ea8fdc9dca92b6bf555b4db9fc135f2a
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 810eefa6b0f..611efbeb7f9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2550,6 +2550,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>