From 9ff0e4f95abac6c406da700cb6ffec0344b15e1b Mon Sep 17 00:00:00 2001 From: Lucas Michot Date: Wed, 23 Jun 2021 18:56:35 +0200 Subject: [PATCH] Simplify .gitattributes --- .gitattributes | 66 +++++++++++--------------------------------------- 1 file changed, 14 insertions(+), 52 deletions(-) diff --git a/.gitattributes b/.gitattributes index a42cf3f0..2a3dff64 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,54 +1,16 @@ -# Define the line ending behavior of the different file extensions -# Set default behaviour, in case users don't have core.autocrlf set. * text=auto -* text eol=lf -# Explicitly declare text files we want to always be normalized and converted -# to native line endings on checkout. -*.php text -*.default text -*.ctp text -*.sql text -*.md text -*.po text -*.js text -*.css linguist-vendored -*.scss linguist-vendored -*.ini text -*.properties text -*.txt text -*.xml text -*.yml text -.htaccess text - -# Declare files that will always have CRLF line endings on checkout. -*.bat eol=crlf - -# Declare files that will always have LF line endings on checkout. -*.pem eol=lf - -# Denote all files that are truly binary and should not be modified. -*.png binary -*.jpg binary -*.gif binary -*.ico binary -*.mo binary -*.pdf binary -*.phar binary -# font files -*.otf binary -*.eot binary -*.ttf binary -*.woff binary -*.woff2 binary - -# Exclude unused files -/tests export-ignore -/.editorconfig export-ignore -/.gitattributes export-ignore -/.gitignore export-ignore -/.styleci.yml export-ignore -/.travis.yml export-ignore -/phpunit.xml export-ignore -/CODE_OF_CONDUCT.md export-ignore -/CONTRIBUTING.md export-ignore +/.github export-ignore +/tests export-ignore +.editorconfig export-ignore +.gitattributes export-ignore +.gitignore export-ignore +.styleci.yml export-ignore +CODE_OF_CONDUCT.md export-ignore +phpunit.xml export-ignore +CONTRIBUTING.md export-ignore +CONTRIBUTORS.txt export-ignore +FUNDING.md export-ignore +phpunit.xml.dist export-ignore +screenshot.png export-ignore +screenshot-billable.png export-ignore