mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-11 08:06:25 -04:00
minor fixup
This commit is contained in:
parent
da8eac5538
commit
266d8bf0d5
|
|
@ -32,7 +32,7 @@ const (
|
|||
MENU_CONTEXT_KEY = "menu"
|
||||
CREDENTIALS_CONTEXT_KEY = "credentials"
|
||||
CONFIRMATION_CONTEXT_KEY = "confirmation"
|
||||
SEARCH_CONTEXT_KEY = "confirmation"
|
||||
SEARCH_CONTEXT_KEY = "search"
|
||||
COMMIT_MESSAGE_CONTEXT_KEY = "commitMessage"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ type CustomCommandObjects struct {
|
|||
SelectedTag *commands.Tag
|
||||
SelectedStashEntry *commands.StashEntry
|
||||
SelectedCommitFile *commands.CommitFile
|
||||
CurrentBranch *commands.Branch
|
||||
CheckedOutBranch *commands.Branch
|
||||
}
|
||||
|
||||
func (gui *Gui) handleCustomCommandKeybinding(customCommand CustomCommand) func() error {
|
||||
|
|
@ -36,7 +36,7 @@ func (gui *Gui) handleCustomCommandKeybinding(customCommand CustomCommand) func(
|
|||
SelectedStashEntry: gui.getSelectedStashEntry(),
|
||||
SelectedCommitFile: gui.getSelectedCommitFile(),
|
||||
SelectedSubCommit: gui.getSelectedSubCommit(),
|
||||
CurrentBranch: gui.currentBranch(),
|
||||
CheckedOutBranch: gui.currentBranch(),
|
||||
}
|
||||
|
||||
tmpl, err := template.New("custom command template").Parse(customCommand.Command)
|
||||
|
|
|
|||
Loading…
Reference in a new issue