From: ktwu01 <ktwu01@gmail.com>
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 <ktwu01@gmail.com>
---
gitattributes: fix eol attribute for Perl scriptsPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-2151%2Fktwu01%2Fkw%2Ffix-pl-eol-attribute-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-2151/ktwu01/kw/fix-pl-eol-attribute-v1 Pull-Request: https://github.com/gitgitgadget/git/pull/2151
.gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to .gitattributes +1 −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 base-commit: ea97ad8d017de0c9037451a78008a0fd60abea0c
-- gitgitgadget