23 lines
726 B
Plaintext
23 lines
726 B
Plaintext
# Line endings are normalised to LF in the repository and on checkout, on every
|
|
# platform. Without this, a checkout on Windows/WSL rewrites files to CRLF and
|
|
# every one of them shows up as modified without anyone having touched it.
|
|
#
|
|
# For the scripts it is not cosmetic: a shell script with CRLF fails on Linux
|
|
# with `bad interpreter: /usr/bin/env bash^M`, which reads as a broken installer
|
|
# rather than a line-ending problem — the worst possible first impression on a
|
|
# machine where nothing has been proven yet.
|
|
* text=auto eol=lf
|
|
|
|
*.sh text eol=lf
|
|
*.py text eol=lf
|
|
*.env text eol=lf
|
|
*.yaml text eol=lf
|
|
*.yml text eol=lf
|
|
|
|
# Never touch binaries.
|
|
*.png binary
|
|
*.jpg binary
|
|
*.zip binary
|
|
*.tar binary
|
|
*.gz binary
|