summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2018-04-26 07:50:57 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-27 09:18:55 +0900
commit20460635a864c2d9256339864a724a0f2e9a5ea7 (patch)
treeff79a98e1d44acb96420afc85c043b789c2e8676 /.gitattributes
parent.gitattributes: add *.pl extension for Perl (diff)
downloadtgif-20460635a864c2d9256339864a724a0f2e9a5ea7.tar.xz
.gitattributes: use the "perl" differ for Perl
As noted in gitattributes(5) this gives better patch context for these types of files. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitattributes b/.gitattributes
index 482af05a6a..aa08dd219d 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,9 +1,9 @@
* whitespace=!indent,trail,space
*.[ch] whitespace=indent,trail,space diff=cpp
*.sh whitespace=indent,trail,space eol=lf
-*.perl eol=lf
-*.pl eof=lf
-*.pm eol=lf
+*.perl eol=lf diff=perl
+*.pl eof=lf diff=perl
+*.pm eol=lf diff=perl
/Documentation/git-*.txt eol=lf
/command-list.txt eol=lf
/GIT-VERSION-GEN eol=lf