# Default: auto-detect text + normalize line endings to LF on commit
* text=auto eol=lf

# Source code
*.rs        text eol=lf
*.py        text eol=lf
*.toml      text eol=lf
*.md        text eol=lf

# Shell scripts MUST be LF (CRLF breaks execution on POSIX)
*.sh        text eol=lf
Dockerfile* text eol=lf

# Config
.gitignore     text eol=lf
.dockerignore  text eol=lf
.gitattributes text eol=lf

# Bench data (ASCII text formats, preserve content)
*.mps   text
*.QPS   text
*.qplib text
*.csv   text

# Cargo.lock は autogenerated、diff 表示を抑止 (PR 見やすく)
Cargo.lock text -diff linguist-generated

# Generated / session artifacts は git archive (release tarball 等) から除外
.claude/             export-ignore
bench_results/       export-ignore
target/              export-ignore
docs/handoff_*.md    export-ignore
