-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git submodules awareness #88
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Recently deadgrep stopped aware git submodules: when I run search inside git submodule, dedagrep will search in outer project space (main git repo).
For example, I have such project structure:
in my
.emacs
I have such dedagrep settings:so, e.g. my current workdir is
~/main_project_repo/apps/app1
and when I press<f5>
deadgrep ask me about "Search term" and then, it will search in~/main_project_repo/
instead of expected~/main_project_repo/apps/app1
. It's little bit annoying cos every time when I want to search smth in git submodule (limit search to submodule directory), it will run in outer, main project directory and I need to do extra actions: change the directory to subdirectory of current submodule...deadgrep-debug
output:ripgrep
version: 12.1.1P.S.
Thanks a lot for such a cool tool, it really really save a lot of my working time! =)
The text was updated successfully, but these errors were encountered: