summaryrefslogtreecommitdiffstats
path: root/pkg/gui/branches_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-11 20:18:50 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-12 18:47:16 +1000
commit79e73d2effc3232122e1faa3b84d6e3953dbd3c7 (patch)
tree9d4c5c62acb2da4f5e5a1073b17ca96f129675b7 /pkg/gui/branches_panel.go
parent23299f88e9c5da84902cc872772333c4ab755946 (diff)
minor cleanup
WIP
Diffstat (limited to 'pkg/gui/branches_panel.go')
-rw-r--r--pkg/gui/branches_panel.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go
index d42d3512c..3317a8ff4 100644
--- a/pkg/gui/branches_panel.go
+++ b/pkg/gui/branches_panel.go
@@ -129,8 +129,8 @@ func (gui *Gui) handleGitFetch(g *gocui.Gui, v *gocui.View) error {
return err
}
go func() {
- unamePassOpend, err := gui.fetch(g, v, true)
- gui.HandleCredentialsPopup(g, unamePassOpend, err)
+ err := gui.fetch(g, v, true)
+ gui.HandleCredentialsPopup(g, err)
}()
return nil
}