From 092489b08fca2a7eb01663d32cefa6cfbcde6663 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Thu, 26 Nov 2026 23:10:32 +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 | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitattributes b/.gitattributes index 09331a29..fcf7d662 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,10 +1,11 @@ # 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 -/phpcs.xml.dist export-ignore -/phpstan.neon.dist export-ignore -/phpunit.xml.dist export-ignore -/tests export-ignore + +/* export-ignore +/src -export-ignore +/src/** -export-ignore +/LICENSE -export-ignore +/README.md -export-ignore +/composer.json -export-ignore +/phpstan-baseline.neon -export-ignore +/renovate.json -export-ignore