Skip to content

feat(TASK-24): eol=crlf for vscode/wsl-ssh.bat + validate pass - #31

Merged
shennarwp merged 2 commits into
masterfrom
chore/TASK-24-eol-wsl-ssh-bat
Oct 10, 2026
Merged

shennarwp merged 2 commits into
masterfrom
chore/TASK-24-eol-wsl-ssh-bat

Conversation

@shennarwp

Copy link
Copy Markdown
Owner

Global eol=lf shipped the cmd.exe batch file LF. Now:

  • .gitattributes: vscode/wsl-ssh.bat text eol=crlf — index stays LF, worktree gets CRLF.
  • tools/validate.sh new pass feat(raycast): add backup config with README #7: asserts the attribute is crlf AND the worktree file has CRLF content, so an editor saving LF fails validation rather than silently shipping a normalized file.
  • TASK-24 marked Done.

tools/validate.sh green.

The bat file runs under cmd.exe; the global eol=lf rule shipped it LF,
which cmd.exe tolerates unreliably. Add 'vscode/wsl-ssh.bat text
eol=crlf' and a validate.sh pass asserting the attribute plus CRLF
content in the worktree, so an editor saving LF fails validation
instead of silently shipping an LF-normalized batch file.

Index keeps an LF blob; checkouts emit CRLF.
@shennarwp
shennarwp merged commit e536713 into master Oct 10, 2026
2 checks passed
@shennarwp
shennarwp deleted the chore/TASK-24-eol-wsl-ssh-bat branch October 10, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant