# Line-ending normalization
#
# Force LF for all text files in BOTH the repository and the working tree.
# This stops Windows/WSL editors from silently rewriting files to CRLF, which
# otherwise produces large, content-free line-ending diffs (e.g. the whole-file
# CRLF churn cleaned up on 2026-06-22). The repo standard is LF.
* text=auto eol=lf

# Binary assets — never apply text/EOL normalization, never diff as text.
*.woff2 binary
*.woff  binary
*.ttf   binary
*.otf   binary
*.eot   binary
*.png   binary
*.jpg   binary
*.jpeg  binary
*.gif   binary
*.webp  binary
*.ico   binary
*.pdf   binary

# 생성 산출물 — 소스는 같은 폴더의 spec JSON 이다.
#
# 15,000줄짜리 생성 HTML 이라 텍스트 diff 는 리뷰에 쓸모가 없고(최장 라인 41,844자),
# 두 브랜치가 각각 재생성하면 손으로 해소할 수 없는 충돌이 난다. 정답은 항상
# "재생성"이므로 머지를 텍스트로 시도하지 않게 해 도구가 그 사실을 강제하게 한다.
docs/diagrams/*.html linguist-generated=true -diff merge=binary
