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:
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user