mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
04be076a5d
The `crlf` Git attribute has been long deprecated and made obsolete. A replacement for using `-crlf` is `-text`. That way Git doesn't do newlines normalization on any system. Since the phpt files don't need specific line endings in any files except for some special CR characters in some, this can be also removed and line normalization can happen on all phpt files. The run-tests.php file converts the CRLF to LF before running the test. This patch also sets a `diff` attributes for all *.phpt files. It helps showing diffs for some phpt files with special characters such as ASCII control characters which makes Git recognize them as binary and stops showing commit diffs otherwise Some additional short info about used Git attributes has been also added as comments for easier understanding. Remove -text gitattribute
796 B
796 B