1
0
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:
mjarkk
2018-10-20 19:44:56 +02:00
parent 1be44eae84
commit ac03665df3
3 changed files with 15 additions and 3 deletions

View File

@@ -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" {