summaryrefslogtreecommitdiffstats
path: root/pkg/gui/branches_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-11 21:29:18 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-12 18:47:16 +1000
commitf49e4946f24961a71afcd7ab840fc2570fe97c1d (patch)
tree06ad00f8410a37767aaef05eeaad99c61516f42b /pkg/gui/branches_panel.go
parent8ff74072f89e5ad92a6b1c5c7314b99ac5485d64 (diff)
minor refactor
Diffstat (limited to 'pkg/gui/branches_panel.go')
-rw-r--r--pkg/gui/branches_panel.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/gui/branches_panel.go b/pkg/gui/branches_panel.go
index bfe666b65..eedbb619c 100644
--- a/pkg/gui/branches_panel.go
+++ b/pkg/gui/branches_panel.go
@@ -131,10 +131,7 @@ func (gui *Gui) handleGitFetch(g *gocui.Gui, v *gocui.View) error {
go func() {
err := gui.fetch(true)
gui.HandleCredentialsPopup(err)
- if err == nil {
- _ = gui.closeConfirmationPrompt(gui.g, true)
- _ = gui.refreshSidePanels(refreshOptions{mode: ASYNC})
- }
+ _ = gui.refreshSidePanels(refreshOptions{mode: ASYNC})
}()
return nil
}