From f4b4ca30c78e5042846686305478fd1f9f1b40dc Mon Sep 17 00:00:00 2001 From: Koutian Wu Date: Sun, 14 Jun 2026 02:48:39 -0500 Subject: [PATCH] gitattributes: fix eol attribute for Perl scripts The *.pl pattern currently sets eof=lf, which is not a built-in attribute used for line-ending normalization. Use eol=lf instead, matching the neighboring *.perl and *.pm rules, so Perl scripts are checked out with LF line endings. Signed-off-by: Koutian Wu --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 556322be01b4a8..26490ad60a74d0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,7 +2,7 @@ *.[ch] whitespace=indent,trail,space,incomplete diff=cpp *.sh whitespace=indent,trail,space,incomplete text eol=lf *.perl text eol=lf diff=perl -*.pl text eof=lf diff=perl +*.pl text eol=lf diff=perl *.pm text eol=lf diff=perl *.py text eol=lf diff=python *.bat text eol=crlf