Giter Site home page Giter Site logo

Comments (7)

CKolkey avatar CKolkey commented on September 16, 2024

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 :)

from neogit.

fnune avatar fnune commented on September 16, 2024

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 👍

THX!

from neogit.

CKolkey avatar CKolkey commented on September 16, 2024

No worries :)

from neogit.

wrobell avatar wrobell commented on September 16, 2024

Please consider the following.

I have list of recent commits and I would like to rebase

  1. Go to the commit
  2. Hit r to rebase
  3. Rebase

Now, I commit a change and I would like to rebase to previous commit

  1. Move away from the commit (or the below is not possible)
  2. Hit r for rebase
  3. There is a list of commits, but I am at the bottom of the screen, therefore move to the top of the screen
  4. Select the commit
  5. Rebase

Is there a way to simplify the 2nd scenario without list of recent commits?

from neogit.

CKolkey avatar CKolkey commented on September 16, 2024

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.

from neogit.

wrobell avatar wrobell commented on September 16, 2024

@CKolkey It seems then, after a commit, the flow could be

  1. Enter log buffer
  2. I am at the bottom of the screen, move to the top of the screen
  3. Select commit
  4. Rebase

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).

from neogit.

wrobell avatar wrobell commented on September 16, 2024

BTW. For last couple of weeks rebasing from log buffer is broken (ll) - first line is empty instead of showing selected commit. Works as expected when using recent commits.

from neogit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.