# 저장소에는 LF 로 저장하고, 체크아웃 시 플랫폼 기본 규칙을 따른다.
# (현재 저장소는 이미 LF 정규화 상태이므로 재정규화 diff 가 발생하지 않는다.)
* text=auto

# ── 줄바꿈을 강제해야 하는 파일 ─────────────────────────────────────
# 원격 리눅스/맥 빌드머신에서 bash 로 실행 → CRLF 면 즉시 깨진다.
*.sh        text eol=lf
# Windows 전용 스크립트 · Inno Setup
*.ps1       text eol=crlf
*.psm1      text eol=crlf
*.cmd       text eol=crlf
*.bat       text eol=crlf
*.iss       text eol=crlf

# ── 텍스트로 다뤄야 하는 프로젝트 파일 ──────────────────────────────
*.cs        text diff=csharp
*.csproj    text
*.slnx      text
*.props     text
*.targets   text
*.xaml      text
*.axaml     text
*.plist     text
*.json      text
*.md        text

# ── 바이너리 (diff/머지 시도 금지) ──────────────────────────────────
*.png       binary
*.jpg       binary
*.ico       binary
*.ttf       binary
*.otf       binary
*.dll       binary
*.exe       binary
*.mp4       binary

# ── 서드파티 번들: 언어 통계·diff 노이즈에서 제외 ───────────────────
VideoDownloader.App/Assets/hls.min.js       linguist-vendored
VideoDownloader.App/Assets/dash.all.min.js  linguist-vendored
VideoDownloader.App/Assets/readability.js   linguist-vendored
*.min.js    -diff
