diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-22 09:48:20 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | f858c8e7509526b2e174e9aa83c54a4aea146b38 (patch) | |
tree | 71449d79fd308528f1a2e1720d378b6bc6274afd /pkg/gui/patch_options_panel.go | |
parent | 26f80087dd837e152a72ce2b3de374b7becbdd5b (diff) |
rename to make way for a generic function name
Diffstat (limited to 'pkg/gui/patch_options_panel.go')
-rw-r--r-- | pkg/gui/patch_options_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/patch_options_panel.go b/pkg/gui/patch_options_panel.go index 098e0db4d..4cee188f3 100644 --- a/pkg/gui/patch_options_panel.go +++ b/pkg/gui/patch_options_panel.go @@ -43,7 +43,7 @@ func (gui *Gui) handleCreatePatchOptionsMenu(g *gocui.Gui, v *gocui.View) error }...) if gui.currentContext() == gui.Contexts.BranchCommits.Context { - selectedCommit := gui.getSelectedCommit() + selectedCommit := gui.getSelectedLocalCommit() if selectedCommit != nil && gui.GitCommand.PatchManager.Parent != selectedCommit.Sha { // adding this option to index 1 menuItems = append( |