Skip to content

Commit e3ab3e8

Browse files
committed
Merge branch 'ab/perl-python-attrs'
We learned that our source files with ".pl" and ".py" extensions are Perl and Python files respectively and changes to them are better viewed as such with appropriate diff drivers. * ab/perl-python-attrs: .gitattributes: add a diff driver for Python .gitattributes: use the "perl" differ for Perl .gitattributes: add *.pl extension for Perl
2 parents fcb6df3 + 7818b61 commit e3ab3e8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.gitattributes

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
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-
*.pm eol=lf
4+
*.perl eol=lf diff=perl
5+
*.pl eof=lf diff=perl
6+
*.pm eol=lf diff=perl
7+
*.py eol=lf diff=python
68
/Documentation/git-*.txt eol=lf
79
/command-list.txt eol=lf
810
/GIT-VERSION-GEN eol=lf

0 commit comments

Comments
 (0)