From 5dede01c3e84c8ed7987148981165861ea7822fd Mon Sep 17 00:00:00 2001 From: Jz0ojiang Date: Tue, 11 Aug 2026 21:14:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80=E6=96=87=E6=9C=AC=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=A1=8C=E5=B0=BE=E4=B8=BA=20LF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 并行 worktree 曾把 yaml fixture 检出成 CRLF,逐字节比较的测试整组失败; 还有分支把 CRLF 写进 blob,合并时整文件冲突。 --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..5d62ad6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# 所有文本文件统一 LF:并行 worktree 曾把 fixture 检出成 CRLF,逐字节比较的测试全挂 +* text=auto eol=lf