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.
This commit is contained in:
BlackAngelTV committed 2026-11-05 10:26:51 +01:00
1 parent 3769c5d08d
commit fc74f8a9a1
1 file changed
+5
+5
View File
@@ -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