summaryrefslogtreecommitdiffstats
path: root/pkg/gui
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2019-03-12 18:57:05 +1100
committerJesse Duffield <jessedduffield@gmail.com>2019-03-16 10:20:27 +1100
commit3b2353b5aecf0b711e419cabc2a0e0a6682110cf (patch)
treeb40591d901422eb41ae498ddc7195f0c802ab07c /pkg/gui
parent3f567c952c310a1bc446c2c89fc5857b8ef79053 (diff)
remove redundant call to refreshCommitFilesView
We already call this function inside the refreshCommitsView function. We call it there because it's logical that A) one occurs whenever the other does and B) the commit files only get refreshed after we've updated the commits themselves
Diffstat (limited to 'pkg/gui')
-rw-r--r--pkg/gui/view_helpers.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go
index 372c5d43e..a258ca7e8 100644
--- a/pkg/gui/view_helpers.go
+++ b/pkg/gui/view_helpers.go
@@ -23,10 +23,6 @@ func (gui *Gui) refreshSidePanels(g *gocui.Gui) error {
return err
}
- if err := gui.refreshCommitFilesView(); err != nil {
- return err
- }
-
return gui.refreshStashEntries(g)
}