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