git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/3] .gitattributes: add *.pl extension for Perl

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Apr 26, 2018, 07:50 UTC
Message-ID
<20180426075058.9322-2-avarab@gmail.com>
In-Reply-To
<20180426075058.9322-1-avarab@gmail.com>

Change the list of Perl extensions added in 00ddc9d13c ("Fix build with core.autocrlf=true", 2017-05-09) to also include *.pl, we have some of those in the tree, e.g. in t/.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 .gitattributes | 1 +
 1 file changed, 1 insertion(+)
diff --git a/.gitattributes b/.gitattributes
index 8ce9c6b888..482af05a6a 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -2,6 +2,7 @@
 *.[ch] whitespace=indent,trail,space diff=cpp
 *.sh whitespace=indent,trail,space eol=lf
 *.perl eol=lf
+*.pl eof=lf
 *.pm eol=lf
 /Documentation/git-*.txt eol=lf
 /command-list.txt eol=lf
-- 
2.17.0.290.gded63e768a
Previous: Ævar Arnfjörð BjarmasonNext: Ævar Arnfjörð Bjarmason
Message 2 of 5 in “enable userdiff for more things in git.git”
  1. 0/3 enable userdiff for more things in git.gitÆvar Arnfjörð Bjarmason, Apr 26, 2018
  2. 1/3 .gitattributes: add *.pl extension for PerlÆvar Arnfjörð Bjarmason, Apr 26, 2018
  3. 2/3 .gitattributes: use the "perl" differ for PerlÆvar Arnfjörð Bjarmason, Apr 26, 2018
  4. 3/3 .gitattributes: add a diff driver for PythonÆvar Arnfjörð Bjarmason, Apr 26, 2018
  5. Junio C HamanoApr 26, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.