Skip to content
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

FR: jj search #5446

Open
mgaudet opened this issue Jan 23, 2025 · 1 comment
Open

FR: jj search #5446

mgaudet opened this issue Jan 23, 2025 · 1 comment

Comments

@mgaudet
Copy link

mgaudet commented Jan 23, 2025

Is your feature request related to a problem? Please describe.
I'd like a more use friendly alternative to git log -S (pickaxe) which is invaluable. d

Describe the solution you'd like

jj search [-r <revset>] perform a grep through history.

Describe alternatives you've considered
On a co-located repo I just used git log -S

Additional context
If there's already a native way to do this in jujutsu, I couldn't figure it out alas.

@yuja
Copy link
Contributor

yuja commented Jan 24, 2025

You can filter revisions by jj log -r 'diff_contains(pattern)', but it doesn't highlight/filter diff contents (shown by -p.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants