From ce036131ea69b2e26029a192767939644f5c5ba7 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Thu, 26 Nov 2026 23:10:31 +0100 Subject: [PATCH] build: use an include list for Git archives Keep the same archive contents and exclude new top-level paths by default. --- .gitattributes | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.gitattributes b/.gitattributes index 9785163..8b4871d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,12 +1,10 @@ # Set the default behavior, in case people don't have core.autocrlf set. * text eol=lf -/.gitattributes export-ignore -/.gitignore export-ignore -/.github export-ignore -/infection.json.dist export-ignore -/Makefile export-ignore -/phpcs.xml.dist export-ignore -/phpstan.neon.dist export-ignore -/phpstan-baseline.neon export-ignore -/phpunit.xml.dist export-ignore -/tests export-ignore + +/* export-ignore +/src -export-ignore +/src/** -export-ignore +/LICENCE -export-ignore +/README.md -export-ignore +/composer.json -export-ignore +/renovate.json -export-ignore