Skip to content

How much trouble would it be to implement searching all git branches in all repos in the path being searched? #1580

Discussion options

You must be logged in to vote

So I think I'll just say up-front that I don't think this feature is a good fit for ripgrep. It's not that it's necessarily hard to implement, but fitting it into the existing model and making sure all of the CLI flags make sense is probably pretty tricky. Moreover, this is kind the of feature that would rapidly beget more features. You would need all kinds of git-specific filtering logic to be added to support the likely very varied number of use cases people would come up with. I personally need to balance such things against my ability to maintain the project effectively give the resources I have.

With that said, I'd be happy to elaborate a bit on how I'd solve this problem. In particu…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BurntSushi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants