提交 3b157682 编写于 作者: R Rob Lourens

Also respect useGlobalIgnoreFiles in file search, from PR #59717

上级 95fa14ee
......@@ -204,7 +204,9 @@ function getRgArgs(options: vscode.FileSearchOptions): string[] {
}
args.push('--no-config');
args.push('--no-ignore-global');
if (!options.useGlobalIgnoreFiles) {
args.push('--no-ignore-global');
}
return args;
}
......@@ -75,7 +75,9 @@ function getRgArgs(config: IRawSearch, folderQuery: IFolderSearch, includePatter
}
args.push('--no-config');
args.push('--no-ignore-global');
if (config.disregardGlobalIgnoreFiles) {
args.push('--no-ignore-global');
}
return { args, siblingClauses };
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册