1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-29 00:51:35 +02:00

shorten name

This commit is contained in:
Jesse Duffield
2022-01-08 14:10:01 +11:00
parent c9a0cc6b30
commit 364c5db19c
37 changed files with 207 additions and 207 deletions

View File

@ -12,7 +12,7 @@ func (gui *Gui) handleCreateGitFlowMenu() error {
return nil
}
if !gui.GitCommand.Flow.GitFlowEnabled() {
if !gui.Git.Flow.GitFlowEnabled() {
return gui.createErrorPanel("You need to install git-flow and enable it in this repo to use git-flow features")
}
@ -25,7 +25,7 @@ func (gui *Gui) handleCreateGitFlowMenu() error {
handleConfirm: func(name string) error {
gui.logAction(gui.Tr.Actions.GitFlowStart)
return gui.runSubprocessWithSuspenseAndRefresh(
gui.GitCommand.Flow.StartCmdObj(branchType, name),
gui.Git.Flow.StartCmdObj(branchType, name),
)
},
})
@ -62,7 +62,7 @@ func (gui *Gui) handleCreateGitFlowMenu() error {
}
func (gui *Gui) gitFlowFinishBranch(branchName string) error {
cmdObj, err := gui.GitCommand.Flow.FinishCmdObj(branchName)
cmdObj, err := gui.Git.Flow.FinishCmdObj(branchName)
if err != nil {
return gui.surfaceError(err)
}