Skip to content

Commit 7818b61

Browse files
avargitster
authored andcommitted
.gitattributes: add a diff driver for Python
Declare that the *.py files in our tree are Python for the purposes of diffing, and as in 00ddc9d ("Fix build with core.autocrlf=true", 2017-05-09) set eol=lf on them, which makes sense like with the *.perl files. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2046063 commit 7818b61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*.perl eol=lf diff=perl
55
*.pl eof=lf diff=perl
66
*.pm eol=lf diff=perl
7+
*.py eol=lf diff=python
78
/Documentation/git-*.txt eol=lf
89
/command-list.txt eol=lf
910
/GIT-VERSION-GEN eol=lf

0 commit comments

Comments
 (0)