Merge pull request 'Add .gitattributes: force LF line-endings for deterministic baseline' (#5) from add-gitattributes into main

Reviewed-on: #5
This commit is contained in:
Imre Lázár 2026-07-19 18:59:57 +02:00
commit f8ed190894

21
.gitattributes vendored Normal file
View File

@ -0,0 +1,21 @@
# Determinisztikus sorvég (illusion3-salt#895 CRLF-incidens): a baseline
# byte-pontossága a source-of-truth LF-jén múlik, NEM a build-kliens
# core.autocrlf-jén. A build-baseline.sh shebangja CRLF esetén 'bash\r'-t
# keresett és eltört; a build out/ CRLF-je pedig a baseline-diffet rontja.
* text=auto eol=lf
# bináris assetek — a git ne konvertáljon, byte-pontos marad
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.otf binary
*.zip binary
*.gz binary
*.pdf binary
*.swf binary