We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
php
phpt
c
h
.gitattributes
1 parent 28ae065 commit ddf7e35Copy full SHA for ddf7e35
.gitattributes
@@ -13,7 +13,8 @@
13
/UPGRADING merge=NEWS
14
/UPGRADING.INTERNALS merge=NEWS
15
16
-# Enable commit diffs for binary PHP test files. Some PHP test files include
17
-# special characters, such as ASCII control characters. Git recognizes these as
18
-# binary and wouldn't generate diffs.
19
-*.phpt diff
+# Configure proper diff drivers to improve the context lines in the output
+# of git diff and to improve token splitting for --word-diff.
+*.phpt diff=php
+*.php diff=php
20
+*.[ch] diff=cpp
0 commit comments