Merge pull request #27456 from IanDelMar/gitattributes

LF line endings on checkout for PHP files
This commit is contained in:
Ron Rennick 2020-08-26 09:20:41 -03:00 committed by GitHub
commit 25ab294e3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 12 deletions

9
.gitattributes vendored
View File

@ -1,3 +1,10 @@
# Set the default behavior, in case people don't have `core.autocrlf` set.
* text=auto
# Declare files that will always have LF line endings on checkout.
*.php text eol=lf
# Remove files for archives generated using `git archive`.
/.* export-ignore
bin export-ignore
CODE_OF_CONDUCT.md export-ignore
@ -9,5 +16,5 @@ package-lock.json export-ignore
phpcs.xml export-ignore
phpunit.* export-ignore
README.md export-ignore
tests export-ignore
renovate.json export-ignore
tests export-ignore