Git - mark git.worktreeIncludeFiles as experimental and reset the default value (#289617)

This commit is contained in:
Ladislau Szomoru
2026-01-22 11:55:06 +01:00
committed by GitHub
parent e03d4442e5
commit 25c32afcbc
2 changed files with 6 additions and 5 deletions

View File

@@ -1902,7 +1902,7 @@ export class Repository implements Disposable {
private async _getWorktreeIncludePaths(): 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', []);
if (worktreeIncludeFiles.length === 0) {
return new Set<string>();