Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
.gitattributes: use the "perl" differ for Perl
author
Ævar Arnfjörð Bjarmason
<avarab@gmail.com>
Thu, 26 Apr 2018 07:50:57 +0000
(07:50 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 27 Apr 2018 00:18:55 +0000
(09:18 +0900)
As noted in gitattributes(5) this gives better patch context for these
types of files.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitattributes
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
00acdbc
)
diff --git
a/.gitattributes
b/.gitattributes
index 482af05a6a37c52e93e5891b8ff80cf0b850de36..aa08dd219db059d83aa0ad59d454212e3bc80043 100644
(file)
--- a/
.gitattributes
+++ b/
.gitattributes
@@
-1,9
+1,9
@@
* whitespace=!indent,trail,space
*.[ch] whitespace=indent,trail,space diff=cpp
*.sh whitespace=indent,trail,space eol=lf
-*.perl eol=lf
-*.pl eof=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