Commit da8cfc067a4 for woocommerce
commit da8cfc067a48abbb874b89c9c6bce61b89e0011b
Author: Mike Jolley <mike.jolley@me.com>
Date: Fri Jun 12 13:45:53 2026 +0100
Fix unparseable glob in extend-cart-checkout-block .gitignore (#65688)
The literal .gitignore is a byte-identical copy of .gitignore.mustache and still contained the mustache placeholder `{{slug}}.zip`. That token is never substituted in the non-template file, so it ignores nothing real, and it makes ignore-crate tools (watchexec, ripgrep, fd) fail to parse the file with "nested alternate groups are not allowed". Drop the line from the literal .gitignore; the .mustache template keeps the placeholder for scaffolding.
diff --git a/packages/js/extend-cart-checkout-block/.gitignore b/packages/js/extend-cart-checkout-block/.gitignore
index 05c84c38887..1557b36feed 100644
--- a/packages/js/extend-cart-checkout-block/.gitignore
+++ b/packages/js/extend-cart-checkout-block/.gitignore
@@ -26,5 +26,3 @@ tests/e2e/config/local-*
dist
build
-
-{{slug}}.zip
diff --git a/packages/js/extend-cart-checkout-block/changelog/dev-gitignore-glob-parsing b/packages/js/extend-cart-checkout-block/changelog/dev-gitignore-glob-parsing
new file mode 100644
index 00000000000..75224236ccb
--- /dev/null
+++ b/packages/js/extend-cart-checkout-block/changelog/dev-gitignore-glob-parsing
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Remove a stray placeholder line from the literal .gitignore (the real template lives in .gitignore.mustache) so glob-based ignore parsers no longer fail on it.