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

This commit is contained in:
Ladislau Szomoru
2026-01-12 11:40:09 +01:00
committed by GitHub
parent 474785ed4d
commit bf6622b8d2
2 changed files with 2 additions and 2 deletions

View File

@@ -1890,7 +1890,7 @@ export class Repository implements Disposable {
private async _getWorktreeIncludeFiles(): Promise<Set<string>> {
const config = workspace.getConfiguration('git', Uri.file(this.root));
const worktreeIncludeFiles = config.get<string[]>('worktreeIncludeFiles', ['**/node_modules{,/**}']);
const worktreeIncludeFiles = config.get<string[]>('worktreeIncludeFiles', ['**/node_modules/**']);
if (worktreeIncludeFiles.length === 0) {
return new Set<string>();