mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
Handled some errors
This commit is contained in:
@@ -364,6 +364,7 @@ func (gui *Gui) pushWithForceFlag(g *gocui.Gui, currentView *gocui.View, force b
|
||||
err := gui.GitCommand.Push(branchName, force, func(passOrUname string) string {
|
||||
return gui.waitForPassUname(g, currentView, passOrUname)
|
||||
})
|
||||
_, _ = g.SetViewOnBottom("pushPassUname")
|
||||
if err != nil {
|
||||
errMessage := err.Error()
|
||||
if errMessage == "exit status 128" {
|
||||
|
||||
Reference in New Issue
Block a user