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 7710f99 commit ed30df3Copy full SHA for ed30df3
.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