fix: add no require git to rg command backend #4

Merged
AdeAttwood merged 2 commits from adeattwood/rg-command-update into 0.x 2024-12-14 13:37:26 +00:00
Owner

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-git to most of the rg defaults in other applications.

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-git` to most of the rg defaults in other applications.
AdeAttwood added 2 commits 2024-12-14 11:44:22 +00:00
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-git` to most of the rg defaults in other applications.
chore: update dependencies
All checks were successful
CI / Luacheck (pull_request) Successful in 47s
CI / StyLua (pull_request) Successful in 41s
CI / Cargo Format (pull_request) Successful in 1m8s
Conventional Tools Commitlint / Commitlint (pull_request) Successful in 25s
CI / Build and test (pull_request) Successful in 4m42s
CI / StyLua (push) Successful in 34s
CI / Luacheck (push) Successful in 47s
CI / Cargo Format (push) Successful in 1m0s
Conventional Tools Commitlint / Commitlint (push) Successful in 21s
CI / Build and test (push) Successful in 3m29s
16a791e8a6
Summary:

run `cargo update`

Test Plan:

CI and manual testing
AdeAttwood merged commit 16a791e8a6 into 0.x 2024-12-14 13:37:26 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AdeAttwood/ivy.nvim#4
No description provided.