From fc74f8a9a14469cbaa9ab98149495e42a8b65c60 Mon Sep 17 00:00:00 2001 From: BlackAngelTV Date: Thu, 5 Nov 2026 10:26:51 +0100 Subject: [PATCH] build: normalize line endings to LF The repository stored CRLF blobs, so dev.sh and the Makefile failed with "bad interpreter" and stray carriage returns as soon as the tree was used on Linux. Force LF in .gitattributes and renormalize the index so checkouts build on the platform kitty targets. --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) 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