]> granicus.if.org Git - php/commit
Convert CRLF line endings to LF
authorPeter Kokot <peterkokot@gmail.com>
Sat, 13 Oct 2018 09:21:27 +0000 (11:21 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sat, 13 Oct 2018 09:21:27 +0000 (11:21 +0200)
commit3f72c77ce47ee0906905b83161d9c1d24e425d89
tree58d19308558ed7e3f9384e0006ce6af0cb83ec56
parent2845f859c19965691855c66bc18d94a4e06ff329
Convert CRLF line endings to LF

This patch simplifies line endings tracked in the Git repository and
syncs them to all include the LF style instead of the CRLF files.

Newline characters:
- LF (\n) (*nix and Mac)
- CRLF (\r\n) (Windows)
- CR (\r) (old Mac, obsolete)

To see which line endings are in the index and in the working copy the
following command can be used:
`git ls-files --eol`

Git additionally provides `.gitattributes` file to specify if some files
need to have specific line endings on all platforms (either CRLF or LF).

Changed files shouldn't cause issues on modern Windows platforms because
also Git can do output conversion is core.autocrlf=true is set on
Windows and use CRLF newlines in all files in the working tree.

Unless CRLF files are tracked specifically, Git by default tracks all
files in the index using LF newlines.
210 files changed:
Zend/tests/bug55509.phpt
Zend/tests/bug64979.phpt
Zend/tests/bug71474.phpt
Zend/tests/bug72918.phpt
Zend/tests/str_offset_002.phpt
Zend/tests/traits/bugs/case-sensitive.phpt
Zend/tests/traits/static_001.phpt
Zend/tests/traits/static_002.phpt
Zend/tests/traits/static_003.phpt
Zend/tests/traits/static_004.phpt
Zend/tests/traits/static_forward_static_call.phpt
Zend/tests/traits/static_get_called_class.phpt
Zend/tests/traits/trait_constant_001.phpt
Zend/tests/traits/trait_constant_002.phpt
ext/curl/tests/curl_version_error.phpt
ext/curl/tests/curl_version_variation1.phpt
ext/filter/tests/bug47435.phpt
ext/filter/tests/bug49274.phpt
ext/gd/tests/bug42434.phpt
ext/gd/tests/bug47946.phpt
ext/gd/tests/bug52070.phpt
ext/gd/tests/bug53156.phpt
ext/gd/tests/bug72494.phpt
ext/gd/tests/bug73272.phpt
ext/gd/tests/bug73279.phpt
ext/gd/tests/bug73279_old.phpt
ext/gd/tests/bug73968.phpt
ext/gd/tests/func.inc
ext/gd/tests/imagecrop_auto-ext.phpt
ext/gd/tests/imagecrop_auto.phpt
ext/gd/tests/imageellipse_error8.phpt
ext/gd/tests/imagefilltoborder_error7.phpt
ext/gd/tests/imageflip.phpt
ext/gd/tests/imagerectangle_basic.phpt
ext/gd/tests/imagerectangle_error1.phpt
ext/gd/tests/imagerectangle_error2.phpt
ext/gd/tests/imagerectangle_error3.phpt
ext/gd/tests/imagerectangle_error4.phpt
ext/gd/tests/imagerectangle_error5.phpt
ext/gd/tests/imagerectangle_error6.phpt
ext/gd/tests/imagerectangle_error7.phpt
ext/gd/tests/imagerectangle_error8.phpt
ext/gd/tests/test_image_equals_file_palette.phpt
ext/gd/tests/webp_basic.phpt
ext/intl/tests/calendar_getDayOfWeekType_basic.phpt
ext/intl/tests/calendar_getNow_basic.phpt
ext/intl/tests/calendar_setMinimalDaysInFirstWeek_basic.phpt
ext/intl/tests/dateformat_formatObject_calendar.phpt
ext/intl/tests/dateformat_formatObject_calendar_variant2.phpt
ext/intl/tests/dateformat_formatObject_datetime.phpt
ext/intl/tests/dateformat_formatObject_datetime_variant2.phpt
ext/intl/tests/dateformat_formatObject_error.phpt
ext/intl/tests/resourcebundle.build
ext/intl/tests/timezone_createDefault_basic.phpt
ext/intl/tests/timezone_getCanonicalID_variant1.phpt
ext/intl/tests/timezone_getDisplayName_variant4.phpt
ext/mbstring/tests/bug52981.phpt
ext/mbstring/tests/bug75944.phpt
ext/mcrypt/tests/bug55169.phpt
ext/mysqli/tests/bug53503.phpt
ext/mysqli/tests/bug55653.phpt
ext/mysqli/tests/bug55859.phpt
ext/mysqli/tests/bug62046.phpt
ext/mysqli/tests/bug62885.phpt
ext/pcre/tests/bug69864.phpt
ext/pcre/tests/bug73612.phpt
ext/pdo_mysql/tests/pdo_mysql_connect_charset.phpt
ext/pgsql/tests/30nb_async_query_params.phpt
ext/phar/tests/bug53872.phpt
ext/phar/tests/phar_gobyebye-win32.phpt
ext/reflection/tests/ReflectionParameter_canBePassedByValue.phpt
ext/reflection/tests/ReflectionParameter_isDefault.phpt
ext/session/mod_files.bat
ext/session/tests/bug36459.phpt
ext/sockets/tests/bug51958.phpt
ext/sockets/tests/mcast_ipv4_recv.phpt
ext/sockets/tests/mcast_ipv6_recv.phpt
ext/sockets/tests/mcast_ipv6_recv_limited.phpt
ext/sockets/tests/mcast_ipv6_send.phpt
ext/spl/tests/DirectoryIterator_getInode_basic.phpt
ext/spl/tests/DirectoryIterator_getInode_error.phpt
ext/spl/tests/SplFileInfo_getGroup_error.phpt
ext/spl/tests/SplFileInfo_getInode_basic.phpt
ext/spl/tests/SplFileInfo_getInode_error.phpt
ext/spl/tests/SplFileInfo_getOwner_error.phpt
ext/spl/tests/SplFileInfo_getPerms_basic.phpt
ext/spl/tests/SplFileInfo_getPerms_error.phpt
ext/spl/tests/bug73629.phpt
ext/spl/tests/bug74478.phpt
ext/spl/tests/iterator_069.phpt
ext/spl/tests/iterator_070.phpt
ext/spl/tests/iterator_071.phpt
ext/spl/tests/recursiveIteratorIterator_beginchildren_error.phpt
ext/spl/tests/recursiveIteratorIterator_callHasChildren_error.phpt
ext/spl/tests/recursiveIteratorIterator_endchildren_error.phpt
ext/spl/tests/recursiveIteratorIterator_nextelement_error.phpt
ext/sqlite3/tests/bug73333.phpt
ext/standard/tests/file/bug43353-win32.phpt
ext/standard/tests/file/bug49047.phpt
ext/standard/tests/file/bug53241.phpt
ext/standard/tests/file/bug55124.phpt
ext/standard/tests/file/bug60120.phpt
ext/standard/tests/file/rename_variation8-win32.phpt
ext/standard/tests/file/stream_enclosed.phpt
ext/standard/tests/file/windows_links/bug48746.phpt
ext/standard/tests/file/windows_links/bug48746_1.phpt
ext/standard/tests/file/windows_links/bug48746_2.phpt
ext/standard/tests/file/windows_links/bug48746_3.phpt
ext/standard/tests/file/windows_links/bug73962.phpt
ext/standard/tests/general_functions/bug50690.phpt
ext/standard/tests/general_functions/get_defined_constants_basic.phpt
ext/standard/tests/general_functions/get_loaded_extensions_basic.phpt
ext/standard/tests/general_functions/uniqid_error.phpt
ext/standard/tests/mail/bug73203.phpt
ext/standard/tests/network/gethostbyname_basic003.phpt
ext/standard/tests/network/gethostbynamel_basic1.phpt
ext/standard/tests/streams/bug49936_win32.phpt
ext/standard/tests/streams/bug74090.phpt
ext/standard/tests/strings/bug50052.phpt
ext/standard/tests/strings/bug53021.phpt
ext/standard/tests/strings/get_html_translation_table_basic1.phpt
ext/standard/tests/strings/htmlentities-utf-3.phpt
ext/standard/tests/strings/md5_basic1.phpt
ext/standard/tests/strings/md5_basic2.phpt
ext/standard/tests/strings/md5_error.phpt
ext/standard/tests/strings/soundex_basic.phpt
ext/standard/tests/strings/soundex_error.phpt
ext/standard/tests/strings/str_rot13_basic.phpt
ext/standard/tests/strings/str_rot13_error.phpt
ext/standard/tests/strings/strnatcasecmp_error.phpt
ext/standard/tests/strings/strnatcmp_basic.phpt
ext/standard/tests/strings/strnatcmp_error.phpt
ext/xml/tests/bug49687.phpt
tests/basic/bug53180.phpt
tests/basic/req44164.phpt
tests/basic/rfc1867_max_file_uploads_empty_files.phpt
tests/lang/foreachLoop.001.phpt
tests/lang/foreachLoop.002.phpt
tests/lang/foreachLoop.003.phpt
tests/lang/foreachLoop.004.phpt
tests/lang/foreachLoop.005.phpt
tests/lang/foreachLoop.006.phpt
tests/lang/foreachLoop.009.phpt
tests/lang/foreachLoop.010.phpt
tests/lang/foreachLoop.011.phpt
tests/lang/foreachLoop.012.phpt
tests/lang/foreachLoop.013.phpt
tests/lang/foreachLoop.014.phpt
tests/lang/foreachLoop.015.phpt
tests/lang/foreachLoop.016.phpt
tests/lang/foreachLoop.017.phpt
tests/lang/operators/add_basiclong_64bit.phpt
tests/lang/operators/add_variationStr.phpt
tests/lang/operators/bitwiseAnd_variationStr.phpt
tests/lang/operators/bitwiseNot_variationStr.phpt
tests/lang/operators/bitwiseOr_variationStr.phpt
tests/lang/operators/bitwiseShiftLeft_variationStr_64bit.phpt
tests/lang/operators/bitwiseXor_variationStr.phpt
tests/lang/operators/divide_basiclong_64bit.phpt
tests/lang/operators/divide_variationStr.phpt
tests/lang/operators/modulus_variationStr.phpt
tests/lang/operators/multiply_basiclong_64bit.phpt
tests/lang/operators/multiply_variationStr.phpt
tests/lang/operators/negate_basiclong_64bit.phpt
tests/lang/operators/negate_variationStr.phpt
tests/lang/operators/operator_equals_basic.phpt
tests/lang/operators/operator_equals_variation.phpt
tests/lang/operators/operator_equals_variation_64bit.phpt
tests/lang/operators/operator_gt_basic.phpt
tests/lang/operators/operator_gt_or_equal_basic.phpt
tests/lang/operators/operator_gt_or_equal_variation.phpt
tests/lang/operators/operator_gt_or_equal_variation_64bit.phpt
tests/lang/operators/operator_gt_variation.phpt
tests/lang/operators/operator_gt_variation_64bit.phpt
tests/lang/operators/operator_identical_basic.phpt
tests/lang/operators/operator_identical_variation.phpt
tests/lang/operators/operator_identical_variation_64bit.phpt
tests/lang/operators/operator_lt_basic.phpt
tests/lang/operators/operator_lt_or_equal_basic.phpt
tests/lang/operators/operator_lt_or_equal_variation.phpt
tests/lang/operators/operator_lt_or_equal_variation_64bit.phpt
tests/lang/operators/operator_lt_variation.phpt
tests/lang/operators/operator_lt_variation_64bit.phpt
tests/lang/operators/operator_notequals_basic.phpt
tests/lang/operators/operator_notequals_variation.phpt
tests/lang/operators/operator_notequals_variation_64bit.phpt
tests/lang/operators/operator_notidentical_basic.phpt
tests/lang/operators/operator_notidentical_variation.phpt
tests/lang/operators/operator_notidentical_variation_64bit.phpt
tests/lang/operators/operator_spaceship_basic.phpt
tests/lang/operators/postdec_basiclong_64bit.phpt
tests/lang/operators/postdec_variationStr.phpt
tests/lang/operators/postinc_basiclong_64bit.phpt
tests/lang/operators/postinc_variationStr.phpt
tests/lang/operators/predec_basiclong_64bit.phpt
tests/lang/operators/predec_variationStr.phpt
tests/lang/operators/preinc_basiclong_64bit.phpt
tests/lang/operators/subtract_basiclong_64bit.phpt
tests/lang/operators/subtract_variationStr.phpt
tests/lang/returnByReference.001.phpt
tests/lang/returnByReference.002.phpt
tests/lang/returnByReference.003.phpt
tests/lang/returnByReference.004.phpt
tests/lang/returnByReference.005.phpt
tests/lang/returnByReference.006.phpt
tests/lang/returnByReference.007.phpt
tests/lang/returnByReference.008.phpt
tests/lang/returnByReference.009.phpt
win32/build/buildconf.js
win32/syslog.reg