Skip to content

chore: enforce LF line endings via .gitattributes#9

Merged
loek-rijksoverheid merged 1 commit intomainfrom
chore/gitattributes-lf
May 7, 2026
Merged

chore: enforce LF line endings via .gitattributes#9
loek-rijksoverheid merged 1 commit intomainfrom
chore/gitattributes-lf

Conversation

@mreuvekamp
Copy link
Copy Markdown
Collaborator

Summary

  • Voegt .gitattributes toe in de repo root die LF afdwingt voor shell-scripts, Dockerfile en YAML.
  • Voorkomt dat een Windows-checkout (met core.autocrlf=true) CRLF introduceert in vendor/install-scripts/claude.sh, wat de Docker-build liet falen op \$'\r': command not found.

Test plan

  • git check-attr -a vendor/install-scripts/claude.sh toont text: set en eol: lf.
  • Op een Windows-machine: na merge één keer git rm --cached -r . && git reset --hard (of fresh clone), dan docker compose build — geen CRLF-fouten meer in de claude-install stap.
  • Bestaande Linux/macOS builds blijven werken (geen functionele change voor LF-checkouts).

🤖 Generated with Claude Code

Force LF on shell scripts, Dockerfile and YAML zodat builds vanuit een
Windows-checkout (core.autocrlf=true) niet meer breken op CRLF in
vendor/install-scripts/claude.sh.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@loek-rijksoverheid loek-rijksoverheid merged commit f50c435 into main May 7, 2026
8 checks passed
@loek-rijksoverheid loek-rijksoverheid deleted the chore/gitattributes-lf branch May 7, 2026 07:25
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.

2 participants