.gitattributes: use the "perl" differ for Perl
[gitweb.git] / .gitattributes
index 8ce9c6b8888fe6c12949d30e3e8b461cb67bb43f..aa08dd219db059d83aa0ad59d454212e3bc80043 100644 (file)
@@ -1,8 +1,9 @@
 * whitespace=!indent,trail,space
 *.[ch] whitespace=indent,trail,space diff=cpp
 *.sh whitespace=indent,trail,space eol=lf
-*.perl eol=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