summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2018-04-26 07:50:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-04-27 00:18:55 (GMT)
commit20460635a864c2d9256339864a724a0f2e9a5ea7 (patch)
treeff79a98e1d44acb96420afc85c043b789c2e8676 /.gitattributes
parent00acdbc6fd5aa1635cf0a6dfa8a4c44e9b75e09e (diff)
downloadgit-20460635a864c2d9256339864a724a0f2e9a5ea7.zip
git-20460635a864c2d9256339864a724a0f2e9a5ea7.tar.gz
git-20460635a864c2d9256339864a724a0f2e9a5ea7.tar.bz2
.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 482af05..aa08dd2 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