Remove Windows batch file gitattributes workaround

The -text whitespace=cr-at-eol rule preventing CRLF conversion for
.cmd files is no longer needed. Allow batch files to use normalized
line endings.
This commit is contained in:
Jinjing
2026-08-13 09:58:30 -07:00
parent d6f5fe5fa9
commit 2d4de0aaa6
3 changed files with 4 additions and 7 deletions
-3
View File
@@ -12,6 +12,3 @@
/src/cli/bundled-skill-guides.ts text eol=lf
# Bundled plugin trees are byte-hashed; CRLF checkout would break the pinned hash.
/resources/plugins/** text eol=lf
# LF-only batch files hit the Windows parser's 512-byte boundary bug; -text keeps
# the stored bytes CRLF so no checkout or blob reader can see them as LF-only.
/tests/e2e/fixtures/golden-stub-agent/*.cmd -text whitespace=cr-at-eol
@@ -1,2 +1,2 @@
@echo off
call "%~dp0golden-stub-agent.cmd" %*
@echo off
call "%~dp0golden-stub-agent.cmd" %*
@@ -1,2 +1,2 @@
@echo off
node "%~dp0golden-stub-agent.js" %*
@echo off
node "%~dp0golden-stub-agent.js" %*