# Shell scripts run on the Calculinux/Linux target -- keep LF so the shebang and
# heredoc terminators never pick up a CR that breaks them on the device.
*.sh text eol=lf

# The app itself runs on the same Linux target (see above). Force LF regardless of a
# contributor's local core.autocrlf, so a file copied straight to the device (bypassing
# git, e.g. for a quick on-hardware test) never carries CRLF git would otherwise see as
# a spurious modification blocking the next `git pull` there.
*.py text eol=lf

# Patch files are fed to `git apply` against LF sources; a CR sneaking into a context line
# is how a patch that applied yesterday stops applying on somebody else's checkout.
*.patch text eol=lf

# ANSI art is bytes, not text: codepage 437 rather than UTF-8, a SAUCE record on the end
# whose FileSize counts them, and CRLFs that are part of the canvas. Git guessed "binary"
# only because the art carried NULs for its blank cells; those are spaces now, so say it
# outright before core.autocrlf starts rewriting a wordmark's line endings.
*.ans -text
