Skip to content

Fix .vercelignore negation patterns - #574

Merged
dglsparsons merged 1 commit into
mainfrom
dgls/orc-5281-vercelignore-negation
Aug 6, 2026
Merged

Fix .vercelignore negation patterns#574
dglsparsons merged 1 commit into
mainfrom
dgls/orc-5281-vercelignore-negation

Conversation

@dglsparsons

Copy link
Copy Markdown
Collaborator

Evaluate .vercelignore patterns against normalized paths relative to the project directory, and exempt the walk root from ignore matching. This prevents allowlist rules beginning with /* from pruning traversal before negated entries are evaluated, while retaining pruning for ignored child directories.

Fixes #573

@dglsparsons
dglsparsons marked this pull request as ready for review August 6, 2026 10:47

@ecklf ecklf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stamp

@dglsparsons
dglsparsons merged commit 4e3ab7c into main Aug 6, 2026
20 of 22 checks passed
@dglsparsons
dglsparsons deleted the dgls/orc-5281-vercelignore-negation branch August 6, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] .vercelignore negate pattern does not work

2 participants