Skip to content

Git - simplify default value for the git.worktreeIncludeFiles setting#287083

Merged
lszomoru merged 1 commit intomainfrom
lszomoru/senior-hamster
Jan 12, 2026
Merged

Git - simplify default value for the git.worktreeIncludeFiles setting#287083
lszomoru merged 1 commit intomainfrom
lszomoru/senior-hamster

Conversation

@lszomoru
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 12, 2026 10:18
@lszomoru lszomoru enabled auto-merge (squash) January 12, 2026 10:18
@lszomoru lszomoru self-assigned this Jan 12, 2026
@lszomoru lszomoru added the git GIT issues label Jan 12, 2026
@lszomoru lszomoru added this to the January 2026 milestone Jan 12, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies the default value for the git.worktreeIncludeFiles setting by removing redundant brace expansion syntax from the glob pattern.

Changes:

  • Simplified the default glob pattern from **/node_modules{,/**} to **/node_modules/**

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
extensions/git/package.json Updated the default value for the git.worktreeIncludeFiles configuration setting to use the simplified pattern
extensions/git/src/repository.ts Updated the fallback default value in the code to match the simplified pattern from package.json

@lszomoru lszomoru merged commit bf6622b into main Jan 12, 2026
27 of 28 checks passed
@lszomoru lszomoru deleted the lszomoru/senior-hamster branch January 12, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants