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

Feature Request: search for commit by its sha #449

Closed
UffeJakobsen opened this issue Oct 20, 2015 · 8 comments
Closed

Feature Request: search for commit by its sha #449

UffeJakobsen opened this issue Oct 20, 2015 · 8 comments

Comments

@UffeJakobsen
Copy link

It would be nice if it was possible to search for a commit by its sha in tig

@jonas
Copy link
Owner

jonas commented Aug 7, 2016

You can either use :<sha> or :goto <sha or rev-parseable expression>, the latter has not been released yet.

@jonas jonas closed this as completed Aug 7, 2016
@TamaMcGlinn
Copy link

Perhaps mention that :goto is not yet released in the manual by that entry? http://jonas.nitro.dk/tig/manual.html#view-scrolling

I was about to open that as a new bug, since the manual says I can use :goto

@cy4n
Copy link

cy4n commented Oct 9, 2018

i missed this feature and finally googled it and you guys are doing awesome job on tig. much love!

@jschewebbn
Copy link

If I know enough of the SHA, this is useful. However I have times when I only know the first 3 characters of the SHA. For this it would be nice to have an interactive search, like that provided by slash, to iterate through all commits that match.

@koutcher
Copy link
Collaborator

You can already do that with /provided that the id column is visible (use X to toggle display).

@jschewebbn
Copy link

I'm using 2.3.0 of tig and x gives me unknown key.

@koutcher
Copy link
Collaborator

Capital X ?

@jschewebbn
Copy link

Yep, that works. Thank you!

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

6 participants