1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

remove clipboard option for now because we need a better way of doing it

This commit is contained in:
Jesse Duffield
2020-08-21 21:01:14 +10:00
parent fcf916d138
commit ce20d1b482
2 changed files with 2 additions and 20 deletions

View File

@ -13,8 +13,8 @@ func (gui *Gui) handleCreatePatchOptionsMenu(g *gocui.Gui, v *gocui.View) error
menuItems := []*menuItem{
{
displayString: "copy patch to clipboard",
onPress: gui.handleCopyPatchToClipboard,
displayString: "reset patch",
onPress: gui.handleResetPatch,
},
{
displayString: "apply patch",
@ -24,10 +24,6 @@ func (gui *Gui) handleCreatePatchOptionsMenu(g *gocui.Gui, v *gocui.View) error
displayString: "apply patch in reverse",
onPress: func() error { return gui.handleApplyPatch(true) },
},
{
displayString: "reset patch",
onPress: gui.handleResetPatch,
},
}
if gui.GitCommand.PatchManager.CanRebase {