# Keep shell scripts LF even on Windows checkouts. Git for Windows defaults to
# core.autocrlf=true, which would otherwise rewrite *.sh with CRLF on clone; CRLF
# in a script breaks `#!/bin/bash` and string comparisons under MSYS2/Git Bash,
# and these .sh files are run on Windows via scripts\scan-sbom.bat (Git Bash).
*.sh        text eol=lf
build-prep  text eol=lf
entrypoint  text eol=lf

# Windows batch wrappers must stay CRLF.
*.bat       text eol=crlf

# PowerShell scripts: keep CRLF. The file carries a UTF-8 BOM so Windows
# PowerShell 5.1 (the default on Korean Windows) reads non-ASCII string
# literals as UTF-8 instead of the CP949 ANSI codepage; without the BOM the
# Korean text mangles and the script fails to parse.
*.ps1       text eol=crlf

# Fixtures / data are normalized to LF for byte-stable diffs across platforms.
*.json      text eol=lf
*.tsv       text eol=lf
*.md        text eol=lf
