From: Koutian Wu Date: Mon, 15 Jun 2026 07:53:58 +0000 (+0000) Subject: gitattributes: fix eol attribute for Perl scripts X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bf506efd40251ebdc9ed829d8bb90d879d2c7aa;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/.gitattributes b/.gitattributes index 158c3d45c4..0eb2f58017 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,7 +2,7 @@ *.[ch] whitespace=indent,trail,space diff=cpp *.sh whitespace=indent,trail,space 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