diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-17 14:04:57 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-21 22:07:14 +1100 |
commit | dcb52857976762378b0e69bd45581231aa334482 (patch) | |
tree | bb8bd788b151d503f3b3a3cbc93aaeef93bec2b4 /pkg/gui/remote_branches_panel.go | |
parent | a9cd647075119c760ca22cceba8c4ad14687b732 (diff) |
support rebasing onto remote branch
Diffstat (limited to 'pkg/gui/remote_branches_panel.go')
-rw-r--r-- | pkg/gui/remote_branches_panel.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/gui/remote_branches_panel.go b/pkg/gui/remote_branches_panel.go index e53e716c5..c1534c89a 100644 --- a/pkg/gui/remote_branches_panel.go +++ b/pkg/gui/remote_branches_panel.go @@ -114,3 +114,8 @@ func (gui *Gui) handleDeleteRemoteBranch(g *gocui.Gui, v *gocui.View) error { }) }, nil) } + +func (gui *Gui) handleRebaseOntoRemoteBranch(g *gocui.Gui, v *gocui.View) error { + selectedBranchName := gui.getSelectedRemoteBranch().Name + return gui.handleRebaseOntoBranch(selectedBranchName) +} |