From: Patrick Steinhardt Date: Mon, 15 Jun 2026 07:22:06 GMT Subject: Re: [PATCH] gitattributes: fix eol attribute for Perl scripts Message-ID: In-Reply-To: On Mon, Jun 15, 2026 at 04:25:25AM +0000, Koutian Wu via GitGitGadget wrote: > From: ktwu01 > > 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: ktwu01 The Signed-off-by and commit author should use your real name, if possible. See [1]. > diff --git a/.gitattributes b/.gitattributes > index 556322be01..26490ad60a 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 Yeah, this looks obviously correct to me. Thanks for the fix! Patrick [1]: https://git-scm.com/docs/SubmittingPatches#real-name