From f77458219e49b6ff6e5c1ad7457e2029d514f3ec Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 4 Oct 2026 08:17:13 +0800 Subject: [PATCH] chore: keep the CRLF audit script out of the fork's eol=lf rule Upstream stores tools/check_pnpm_audit_exceptions.py with CRLF, while the fork's '*.py text eol=lf' rule made every checkout report it as modified. Exempt that one file so its bytes stay identical to upstream and working trees are clean. Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index 563a0bb7687c..8ddee1fdfcde 100644 --- a/.gitattributes +++ b/.gitattributes @@ -31,6 +31,8 @@ Dockerfile text eol=lf *.mjs text eol=lf *.cjs text eol=lf *.py text eol=lf +# Upstream stores this one script with CRLF; keep its bytes as they are. +tools/check_pnpm_audit_exceptions.py -text *.ps1 text eol=lf go.mod text eol=lf go.sum text eol=lf