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