# =============================================================================
# Tanabata File Manager — .gitattributes
# =============================================================================

# ---------------------------------------------------------------------------
# Line endings: normalize to LF in repo, native on checkout
# ---------------------------------------------------------------------------
* text=auto eol=lf

# ---------------------------------------------------------------------------
# Explicitly text
# ---------------------------------------------------------------------------
*.go        text eol=lf
*.mod       text eol=lf
*.sum       text eol=lf
*.sql       text eol=lf
*.ts        text eol=lf
*.js        text eol=lf
*.svelte    text eol=lf
*.html      text eol=lf
*.css       text eol=lf
*.json      text eol=lf
*.yaml      text eol=lf
*.yml       text eol=lf
*.md        text eol=lf
*.txt       text eol=lf
*.env*      text eol=lf
*.sh        text eol=lf
*.toml      text eol=lf
*.xml       text eol=lf
*.svg       text eol=lf
Dockerfile  text eol=lf
Makefile    text eol=lf

# ---------------------------------------------------------------------------
# Explicitly binary
# ---------------------------------------------------------------------------
*.png       binary
*.jpg       binary
*.jpeg      binary
*.gif       binary
*.webp      binary
*.ico       binary
*.ttf       binary
*.woff      binary
*.woff2     binary
*.eot       binary
*.otf       binary
*.zip       binary
*.gz        binary
*.tar       binary

# ---------------------------------------------------------------------------
# Diff behavior
# ---------------------------------------------------------------------------
*.sql       diff=sql
*.go        diff=golang
*.css       diff=css
*.html      diff=html

# ---------------------------------------------------------------------------
# Linguist: set repo language stats correctly
# ---------------------------------------------------------------------------
docs/reference/** linguist-documentation
frontend/static/** linguist-vendored
*.min.js linguist-vendored
*.min.css linguist-vendored
