# Force LF line endings for everything Git treats as text, regardless of the
# cloning machine's core.autocrlf setting. Shell scripts with CRLF endings
# fail to run on Linux (this bit us once already via `git archive` on
# Windows converting LF -> CRLF on export) — never again.
* text=auto eol=lf

*.sh text eol=lf

# tools/ is never part of a release.
#
# It holds the deployment helpers, which carry a plaintext root-capable
# password for the machine they were written against (they are
# gitignored, but the directory itself has no business in a customer's
# archive either) and the release script, whose secret-pattern list is
# not a customer's concern. `git archive` — which is how
# tools/make-release.sh builds the distributable — honours this.
tools/ export-ignore
