mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 15:35:20 +01:00
Fix #48771 - prevent rg from checking global gitignores
This commit is contained in:
@@ -366,6 +366,7 @@ function getRgArgs(query: vscode.TextSearchQuery, options: vscode.TextSearchOpti
|
||||
}
|
||||
|
||||
args.push('--no-config');
|
||||
args.push('--no-ignore-global');
|
||||
|
||||
// Folder to search
|
||||
args.push('--');
|
||||
|
||||
@@ -507,6 +507,7 @@ function getRgArgs(config: IRawSearch) {
|
||||
}
|
||||
|
||||
args.push('--no-config');
|
||||
args.push('--no-ignore-global');
|
||||
|
||||
// Folder to search
|
||||
args.push('--');
|
||||
|
||||
Reference in New Issue
Block a user