# Normalize to LF inside the repository, and check out shell/node sources as LF on every OS. # Without this, a Windows clone with core.autocrlf=true turns install.sh into CRLF and # bash then fails with: bad interpreter: /usr/bin/env bash^M * text=auto eol=lf *.sh text eol=lf *.mjs text eol=lf *.yml text eol=lf *.yaml text eol=lf *.md text eol=lf # PowerShell 5.1/7 都能读 LF;仓库统一 LF,避免“声明 CRLF 实际 LF”的自欺(2026-10-24 审计) *.ps1 text eol=lf *.cmd text eol=crlf *.bat text eol=crlf *.png binary *.zip binary # plugins/ 只在仓库里做版本管理,不随 git archive 进 Release 包(预设包本身不需要它们) plugins/ export-ignore # 办公基准测试:inputs 必须按字节保留(含 UTF-8 BOM 与 CRLF),否则 input_manifest 的 sha256 全部失效。 # -text 关闭行尾转换与文本 diff(这批是数据件,本就不该被编辑)。 benchmarks/office/**/inputs/** -text # 公开评分标准是原样发布的制品包,其 文件校验.json 自证各文件哈希;按字节保留,避免规范化后自证失效。 benchmarks/office/grading/** -text