Log navigation: add Back/Forward buttons to Commits pane

Ed Ball 2 years ago updated by Adrien Béraud 8 months ago 2

After clicking on a link in the Log window Details pane (e.g. the "parent commit" link) or after right-click Reveal Commit from the Branches pane, it would be nice if I could go "Back" to the commit that was highlighted before the jump. A button in the Commits toolbar, e.g. next to the Filter box, would be a great place for it. The standard keyboard shortcut (e.g. Alt+Left) would also be nice. "Forward" support would also make sense, but the feature would still be useful without it.

This would be even more useful now that the Log Graph can be used as the primary interface.

IMHO implementing back/forward would basically mean going back in the git reflog history (it would checkout, not just select the previously checked-out commit)

Actually implementing back/forward would be a great way to give acces to the reflog (it could work like browser history: a long click could provide fast access to the last few entries).