# Normalise line endings in the repository.
#
# Without this, files committed from Windows land with CRLF and files committed from Linux/macOS
# land with LF, so `git status` reports whole-file churn on the other platform and diffs are noise.
# This repository already had a mix: `git diff` warned "LF will be replaced by CRLF" on ~30 files
# at once. `text=auto` stores everything Git detects as text with LF in the object database and
# checks it out with the platform's native ending.
#
# Renormalising an existing tree is a one-off: `git add --renormalize .` then commit.
* text=auto

# Keep LF in the working tree too for files where a shell, a container, or a tool reads them
# directly and CRLF would break or confuse it.
*.sh        text eol=lf
*.yml       text eol=lf
*.yaml      text eol=lf
*.toml      text eol=lf

# Binary: never touch these.
*.png       binary
*.parquet   binary
*.ipc       binary
*.3mf       binary
