@leroysheep / Socializer / commits / 0bf506efd4

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 <ktwu01@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Koutian Wu committed Jun 15, 2026 at 07:53 UTC 0bf506efd40251ebdc9ed829d8bb90d879d2c7aa
1 file changed +1 -1
.gitattributes
+1 -1
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