# Keep LF in the working tree, on Windows included.
#
# Git's autocrlf would otherwise rewrite line endings on checkout, and this
# tree does not tolerate that: the build runs under Git Bash, and a Makefile
# recipe or a .S file with CRLF fails in ways that point nowhere near the
# actual cause.
* text eol=lf

# Binary, never touched.
*.png     binary
*.jpg     binary
*.ttf     binary
*.img     binary
*.iso     binary
*.tar.gz  binary
*.tgz     binary
*.zip     binary
*.wad     binary
# Fonts and the rest of what the website ships. `* text` above applies to
# anything not listed, and a compressed font with a 0x0D 0x0A in it had that
# pair "fixed" to 0x0A on commit -- a woff2 that no longer decoded.
*.woff    binary
*.woff2   binary
*.otf     binary
*.ico     binary
*.gif     binary
*.webp    binary
*.pdf     binary
*.wasm    binary

# The language bar on the repository page (Forgejo, GitHub) counts what
# linguist counts. Data tables are generated, not written, and Niveus is
# another project's design system carried for the website; neither is SchOS
# code. tools/python/stats.py leaves out the same files.
include/gfx/font.h          linguist-generated
include/gfx/logo.h          linguist-generated
docs/Website/niveus/**      linguist-vendored
