Does --quiet --files actually terminate immediately? #907
Labels
doc
An issue with or an improvement to documentation.
enhancement
An enhancement to the functionality of the software.
VS Code is using a command like
rg --quiet --files -g '**/package.json'
to test whether a workspace contains a certain type of file. Investigating microsoft/vscode#48599, it seems like ripgrep doesn't actually terminate early when the --quiet flag is used.One way I'm testing this, in the ripgrep repo:
I'd expect the --quiet version to terminate immediately after one file is found, and leave a shorter log behind.
In the original issue, rg runs for a long time despite the debug log showing that it saw a package.json file very early.
The text was updated successfully, but these errors were encountered: