Skip to content

Commit 2046063

Browse files
avargitster
authored andcommitted
.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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 00acdbc commit 2046063

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.gitattributes

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
* whitespace=!indent,trail,space
22
*.[ch] whitespace=indent,trail,space diff=cpp
33
*.sh whitespace=indent,trail,space eol=lf
4-
*.perl eol=lf
5-
*.pl eof=lf
6-
*.pm eol=lf
4+
*.perl eol=lf diff=perl
5+
*.pl eof=lf diff=perl
6+
*.pm eol=lf diff=perl
77
/Documentation/git-*.txt eol=lf
88
/command-list.txt eol=lf
99
/GIT-VERSION-GEN eol=lf

0 commit comments

Comments
 (0)