Skip to content

Commit f4b4ca3

Browse files
committed
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>
1 parent ea97ad8 commit f4b4ca3

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,incomplete diff=cpp
33
*.sh whitespace=indent,trail,space,incomplete 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)