mirror of
https://github.com/calesthio/OpenMontage.git
synced 2026-08-05 15:20:40 +08:00
Without a .gitattributes, line-ending normalization depends on each contributor's local core.autocrlf. On Windows checkouts this can materialize text files — and shell scripts like render-demo.sh — with CRLF, which breaks script shebangs and produces noisy cross-platform diffs. Add a root .gitattributes that: - defaults all text files to LF (* text=auto eol=lf) - pins shell scripts, Makefile and .env.example to LF explicitly - keeps .bat/.cmd as CRLF - marks image/video/audio/font assets as binary so Git never normalizes or diffs them Only the policy file is added; existing files are intentionally left unrenormalized to keep this change reviewable. Closes #187
1.3 KiB
1.3 KiB