diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-11 20:29:05 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-12 18:47:16 +1000 |
commit | 1c0da2967c50d6c8992adddf7c94ad2a4e5451e2 (patch) | |
tree | 96bc6597278c4d667a01bd336e0e4cdf02f2ee77 /pkg/gui/global_handlers.go | |
parent | 1b78a42b80098fa2376b33efb3e84a0da56b7ad9 (diff) |
update naming
Diffstat (limited to 'pkg/gui/global_handlers.go')
-rw-r--r-- | pkg/gui/global_handlers.go | 2 |
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() |