Skip to content

Commit 0bf506e

Browse files
ktwu01gitster
authored andcommitted
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>
1 parent 54a3711 commit 0bf506e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*.[ch] whitespace=indent,trail,space diff=cpp
33
*.sh whitespace=indent,trail,space text eol=lf
44
*.perl text eol=lf diff=perl
5-
*.pl text eof=lf diff=perl
5+
*.pl text eol=lf diff=perl
66
*.pm text eol=lf diff=perl
77
*.py text eol=lf diff=python
88
*.bat text eol=crlf

0 commit comments

Comments
 (0)