I often find git's grep command useful for searching a codebase without needing to filter out build artifacts. Pijul doesn't have a grep command, so I thought I'd add it.
Does ripgrep not fill that space nicely? It honours .ignore by default, so you need not manually filter stuff out most of the time.
I suppose ripgrep covers the working tree, assuming you have everything you want to filter out already in .ignore, but I don't think it covers searching a specific revision / tag.
Wow, this is really cool, I just accepted these patches. Thanks a lot! Would you mind adding one or two tests to our test suite in pijul/tests/cases?
Cool, glad you liked it! I will add some tests, and probably a few enhancements as well.
One really cool enhancement could be to write a dedicated instance of graph::Writer that doesn’t allocate anything and just grecs line by line.