Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kzrdude
on Nov 30, 2023
|
parent
|
context
|
favorite
| on:
Ripgrep is faster than grep, ag, Git grep, ucg, pt...
git grep is shallow: only current git repo, rg is fully recursive, all submodules and also untracked (and not ignored) directories.
In some trees, git grep will be a lot faster because it searches a smaller part of it.
ctenb
on Nov 30, 2023
[–]
No, git grep can recurse, if you pass the flag, just like all other git commands. --recurse-submodules
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
In some trees, git grep will be a lot faster because it searches a smaller part of it.