fix: add no require git to rg command backend #4
Loading…
Reference in a new issue
No description provided.
Delete branch "adeattwood/rg-command-update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary:
When using this backend in a directory that is not a git repository, it will
search though all the file. This is mostly a problem when using an alternative
source control like sapling.
When using this backend neovim will just hang until the rg command is done.
When searching node_modules you can imagine how long that takes. This does not
actually fix the issue however, it does make it search though less files.
Test Plan:
This has been used manually on a sapling repo. I have also added
--no-require-gitto most of the rg defaults in other applications.