chore: add repository .gitattributes for line ending normalization

This commit is contained in:
Mario Zechner 2026-02-26 01:05:26 +01:00
parent 40a8706bb9
commit 43c3c99dde

23
.gitattributes vendored Normal file
View file

@ -0,0 +1,23 @@
# Default to LF for text files across the repo
* text=auto eol=lf
# Windows scripts should keep CRLF
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
# Shell scripts should keep LF
*.sh text eol=lf
# Common binary assets
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.pdf binary
*.zip binary
*.gz binary
*.woff binary
*.woff2 binary