From 20301d2d88aa04425febfc2c7c48d6f7ca89c072 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Fri, 18 Sep 2026 16:33:41 +0700 Subject: [PATCH] chore: check out LF line endings everywhere MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The repository normalises to LF in the index either way; the working tree was being converted to CRLF on checkout, which is wrong for a repo worked on from Linux. It also silently breaks the newsletter parity suite, which compares committed golden files byte for byte against engine stdout — the reason scripts/newsletter needed an explicit LF override until now. That override and the *.sh one are both redundant against an LF default. --- .gitattributes | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitattributes b/.gitattributes index b88e39c..6313b56 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,7 +1 @@ -* text=auto eol=crlf - -*.sh text eol=lf - -# The newsletter parity suite compares engine stdout to committed golden files -# byte for byte, so these must stay LF on every checkout. -scripts/newsletter/** text eol=lf +* text=auto eol=lf