summaryrefslogtreecommitdiffstats
path: root/pkg/gui/global_handlers.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-11 20:29:05 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-12 18:47:16 +1000
commit1c0da2967c50d6c8992adddf7c94ad2a4e5451e2 (patch)
tree96bc6597278c4d667a01bd336e0e4cdf02f2ee77 /pkg/gui/global_handlers.go
parent1b78a42b80098fa2376b33efb3e84a0da56b7ad9 (diff)
update naming
Diffstat (limited to 'pkg/gui/global_handlers.go')
-rw-r--r--pkg/gui/global_handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/global_handlers.go b/pkg/gui/global_handlers.go
index 4c9c5cf37..d66e56021 100644
--- a/pkg/gui/global_handlers.go
+++ b/pkg/gui/global_handlers.go
@@ -167,7 +167,7 @@ func (gui *Gui) handleInfoClick(g *gocui.Gui, v *gocui.View) error {
}
func (gui *Gui) fetch(g *gocui.Gui, v *gocui.View, canAskForCredentials bool) (err error) {
- err = gui.GitCommand.Fetch(gui.waitForPassUname, canAskForCredentials)
+ err = gui.GitCommand.Fetch(gui.promptUserForCredential, canAskForCredentials)
if canAskForCredentials && err != nil && strings.Contains(err.Error(), "exit status 128") {
colorFunction := color.New(color.FgRed).SprintFunc()