From 93f5111ba74d7e2d23b93da29a9e2f3dfbd11785 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 10 Dec 2025 14:20:59 -0500 Subject: [PATCH] gitattributes: Do not export ast-grep infrastructure in source archives Exclude infrastructure added by commit 61743471d9 (ast-grep: add a rule to find adjacent string literals in cmStrCat calls, 2025-05-15, v4.1.0-rc1~122^2~3). --- .gitattributes | 1 + Utilities/.gitattributes | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index d414c68fa5..3cf1b86fb8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,6 +6,7 @@ .editorconfig export-ignore .pre-commit-config.yaml export-ignore .typos.toml export-ignore +sgconfig.yml export-ignore # Custom attribute to mark sources as using our C code style. [attr]our-c-style whitespace=tab-in-indent format.clang-format=18 diff --git a/Utilities/.gitattributes b/Utilities/.gitattributes index b6c6212023..b28c28a666 100644 --- a/Utilities/.gitattributes +++ b/Utilities/.gitattributes @@ -1,3 +1,4 @@ +/ast-grep export-ignore /Git export-ignore /GitSetup export-ignore SetupForDevelopment.sh export-ignore