From 45b4999d244b6b4214383d7f0d97edf76d2beffe Mon Sep 17 00:00:00 2001 From: maogeigei Date: Fri, 18 Sep 2026 20:08:28 +0800 Subject: [PATCH] =?UTF-8?q?chore(license):=20=E6=8E=88=E6=9D=83=E6=B3=95?= =?UTF-8?q?=E5=BE=8B=E6=96=87=E6=9C=AC=E6=A0=87=E8=AE=B0=20-text=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=20autocrlf=20=E6=94=B9=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 本仓 core.autocrlf=true ⇒ LICENSE 会在下次 checkout 被改成 CRLF, 使官方 AGPL-3.0 全文(34,523 B)不再逐字节一致。 与既有 dsh-server-docs/** -text 同一理由。 --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitattributes b/.gitattributes index 3354dfa..88fa6de 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,8 @@ # 文档库并入后的行尾约定(原文档库是 * -text + autocrlf=false ⇒ 必须保持纯 LF) dsh-server-docs/** -text + +# 授权法律文本:必须逐字节保持原样(LICENSE = AGPL-3.0 官方全文 34,523 B) +# ⇒ 标记 -text,避免 core.autocrlf=true 在下次 checkout 时把它改成 CRLF +LICENSE -text +COMMERCIAL-LICENSE.md -text +COMMERCIAL-LICENSE.zh-CN.md -text