Fix #48771 - prevent rg from checking global gitignores

This commit is contained in:
Rob Lourens
2018-08-15 20:04:43 -07:00
parent 50d7fa2ebc
commit fd4d0c71de
2 changed files with 2 additions and 0 deletions
@@ -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('--');