Closed fnune closed 5 months ago
Not a bug; this is how Magit renders the status buffer with unmerged commits. You could add a "show_recent_despite_unmerged_commits" config option if you're so inclined :)
I see, sorry to have characterized it as such. I did so because the previous behavior was to keep showing "Recent commits".
If this is the design, then :+1:
THX!
No worries :)
Please consider the following.
I have list of recent commits and I would like to rebase
r
to rebaseNow, I commit a change and I would like to rebase to previous commit
r
for rebaseIs there a way to simplify the 2nd scenario without list of recent commits?
I'm not sure if this answers your question, but you can invoke the rebase popup from both the reflog and log buffers to use the commit under your cursor as the "selection" for rebasing.
@CKolkey It seems then, after a commit, the flow could be
IMHO, if there was simply list of recent commits, there would be less friction.
Alternatively, when my cursor is on "Head", "Merge" or other top-lines in the neogit buffer, then hitting r
could directly go to rebase screen selecting that commit. At the moment, hitting r
opens log buffer (with cursor located at the bottom).
BTW. For last couple of weeks rebasing from log buffer is broken (ll
) - first line is empty instead of showing selected commit. This happens when rebase window opens to the right. It works OK if opens to the bottom.
Works as expected when using recent commits.
Description
This is what Neogit looks like without unmerged commits:
As soon as there are unmerged commits, I see that the "Recent commits" sections is out:
I want the "Recent commits" section to show always, like it did before recent updates.
Neovim version
~/Development/memfault => nvim --version NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713773202 Run "nvim -V1 -v" for more info
Operating system and version
Linux feanor 6.8.12 #1-NixOS SMP PREEMPT_DYNAMIC Thu May 30 07:49:53 UTC 2024 x86_64 GNU/Linux
Steps to reproduce
Expected behavior
No response
Actual behavior
No "Recent commits" section if unmerged commits exist
Minimal config