mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
Git - mark git.worktreeIncludeFiles as experimental and reset the default value (#289617)
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user