diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-02-16 09:21:23 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-02-16 09:57:49 +1100 |
commit | feaf98bd018502ca95c0d93be0d8b2bfa7f46f03 (patch) | |
tree | 593097c7b1a35512af33c30676fefae8e8d3559e /pkg/gui/files_panel.go | |
parent | 0fe9c15ce8566b28516df626b3df0e4bc62e840a (diff) |
add reset to upstream option on files panel
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index df6481f50..1ca3538a2 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -570,3 +570,7 @@ func (gui *Gui) handleCreateStashMenu(g *gocui.Gui, v *gocui.View) error { func (gui *Gui) handleStashChanges(g *gocui.Gui, v *gocui.View) error { return gui.handleStashSave(gui.GitCommand.StashSave) } + +func (gui *Gui) handleCreateResetToUpstreamMenu(g *gocui.Gui, v *gocui.View) error { + return gui.createResetMenu("@{upstream}") +} |