diff --git a/.gitattributes b/.gitattributes index d270625..1d9396e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,8 @@ +# kitty only builds and runs on Linux and macOS, so line endings are kept as LF +# in the repository and in the working tree on every platform. Without this, +# CRLF checkouts break dev.sh, the Makefile and anything else run by a shell. +* text=auto eol=lf + kitty/terminfo.h linguist-generated=true terminfo/kitty.termcap linguist-generated=true terminfo/kitty.terminfo linguist-generated=true