You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by zh...@apache.org on 2026/09/23 11:52:02 UTC
(seatunnel) 05/08: [Fix][Build] Force LF checkout for all text files in .gitattributes
This is an automated email from the ASF dual-hosted git repository.
hawk9821 pushed a commit to branch 3.0.0-release
in repository https://gitbox.apache.org/repos/asf/seatunnel.git
commit 51a0767d467628ca544e81026df475c964c82f84
Author: zhangdonghao <ha...@qq.com>
AuthorDate: Mon Sep 21 00:22:57 2026 +0800
[Fix][Build] Force LF checkout for all text files in .gitattributes
Windows machines with core.autocrlf=true checked out yaml/yml/conf/
template/py files as CRLF because .gitattributes only covered sh and
properties. Those CRLF files were packed into the bin.tar.gz release
artifact and broke startup on Linux until dos2unix was applied.
Use a catch-all '* text=auto eol=lf' rule so every text file is checked
out with LF (cmd/bat keep CRLF). All blobs in the index are already LF,
so this does not change any file content.
---
.gitattributes | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/.gitattributes b/.gitattributes
index 256f783daf..c70cb771b5 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,8 +1,4 @@
-*.sh text=auto eol=lf
-mvnw text=auto eol=lf
-jvm*_options text eol=lf
-plugin_config text eol=lf
-*.properties text eol=lf
+* text=auto eol=lf
*.cmd text eol=crlf
*.bat text eol=crlf