# Line-ending policy. # # `* text=auto` lets git normalise text files to LF in the repository and convert # to the platform's native line endings on checkout. That default is fine for # .md / .rs / .toml / .py — broken for shell scripts and Dockerfiles, where # CRLF on the shebang line causes Linux exec to look for an interpreter named # `/bin/sh\r` (or similar) and fail with "no such file or directory". # # Force LF for anything that ends up executed inside a Linux container or a # POSIX shell. This is what prevented the v0.8.0 image from booting at first # build until the entrypoint was renormalised. * text=auto *.sh text eol=lf *.bash text eol=lf verify text eol=lf Dockerfile* text eol=lf docker/* text eol=lf scripts/* text eol=lf # Binary blobs that should never be touched by text-normalisation. *.bin binary *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.zip binary *.tar binary *.tgz binary *.gz binary *.wasm binary *.rvf binary *.task binary *.csi.jsonl binary *.pcap binary