-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Implement counterpart for -
mapping in :Git log
#2328
Comments
-
mapping in :Git log
No, that's not how Git works. Commits know about their parents but not their children. You can find children by hunting through the history of a branch, but which branch to hunt through is subjective. For example, the children that exist on |
I see. Would just have a nice way to jump back and forward through my merge request without having to open the browser. Works with |
Ah |
Alternatively you can use |
How does that work? I don't understand what is meant by "currently edited commit". For me it just shows nothing |
Where are you using the |
I have my |
A command doesn't answer the question. What buffer are you using the |
In the buffer of the diff, but no matter in which buffer I execute |
The first buffer that opens is the top most commit. It has no children. So it will not list anything.
Are you just trying it in random files? Those don't have child commits either. |
I did not try in the first commit, but in one further down.
I have been trying in many commits and files now. The list is alway empty |
I guess it needs a starting point too. Try |
Yep, that works! Thx
…On Aug. 19 2024, at 6:07 pm, Tim Pope ***@***.***> wrote:
I guess it needs a starting point too. Try :Gclog @ ^! to use the currently checked out branch.
—
Reply to this email directly, view it on GitHub (#2328 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AEW47N76HZ26OYZN4RNDMPDZSIJ43AVCNFSM6AAAAABMPZWE66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJWHEZTEOJXGE).
You are receiving this because you authored the thread.
|
I have found that you can navigate down the commit history by pressing
-
. This mapping is undocumented in seems and there also is not counterpart+
. Would it be possible to create one?I have looked at the
NavigateUp
andDirRev
functions, but it is not obvious to me how to achieve that.The text was updated successfully, but these errors were encountered: