Skip to content

Allow opt-out of drag/drop to rebase/reorder commits in the "all commits" view #2628

@ravindUwU

Description

@ravindUwU

Hello!
In Fork pre-2.11, one could click/mouse down a commit listed in the "All Commits" view (which would update the commit details pane with the corresponding details), and continue to move the mouse before releasing the click/mouse up, to change the selection according to the mouse cursor.

This is something that I do very often, typically to scan through the commit subject, messages, affected files names, etc. while reviewing incoming changes from a branch during/in preparation for code review.

It's also a very "mouse-efficient" motion, with which one can browse a whole sequence of commits using a single "click" (mouse down → move → move up), instead of having to repeatedly click each commit or press an arrow key to move between them.

Here's what it looks like:

fork210.vmware_BMteLRqmg9.crop.mp4

Fork 2.11 introduces a "Reorder and squash commits in active branch using drag and drop" (quoting the release note) feature which makes this motion no longer possible, because it initiates an interactive rebase to reorder the commit accordingly:

fork211.vmware_xXqKD3xIeQ.crop.mp4

Could the pre-2.11 behaviour please be brought back; or made opt-in using a setting? I'm compelled to stay on 2.10.3 because the new behaviour is so disruptive, personally. I rarely ever reorder commits, and when I must, it's easy enough to initiate the interactive rebase via the context menu of the commit, and drag & drop to reorder them within the interactive rebase window:

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions