-
Notifications
You must be signed in to change notification settings - Fork 602
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
start view at specific commit/rev #1287
Comments
you can set TIG_SCRIPT to execute arbitrary commands at startup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I like to use
tig --all
as a history browser and see the relations of branches (which branches is featurex branched off of/merged into…?)Right now tig always opens (the main view) at the most recent commit (as determined by the commit ordering I guess). Even when you invoke it like
tig rev2 rev1
it always selects the top commit, and you have scroll down or/
-search or:goto rev
.It would be nice if, analogous to starting at a certain line number (
tig +<number>
), we could do something liketig :rev
or maybetig :goto=rev
to immediately open it at the specified commit.Maybe that could also be extended to execute arbitrary
:
-prompt-commands at startup.The text was updated successfully, but these errors were encountered: