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

Use confirmation popup for amending last commit.

This commit is contained in:
Kristijan Husak
2018-09-25 22:11:51 +02:00
parent b6b21bc98e
commit 28fe3d6cf9
6 changed files with 24 additions and 27 deletions

View File

@ -2,7 +2,6 @@ package gui
import (
"github.com/jesseduffield/gocui"
"strings"
)
// Binding - a keybinding mapping a key and modifier to a handler. The keypress
@ -131,7 +130,7 @@ func (gui *Gui) GetKeybindings() []*Binding {
Key: 'M',
Modifier: gocui.ModNone,
Handler: gui.handleAmendCommitPress,
Description: strings.ToLower(gui.Tr.SLocalize("AmendLastCommit")),
Description: gui.Tr.SLocalize("AmendLastCommit"),
}, {
ViewName: "files",
Key: 'C',