diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-03-12 18:57:05 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-03-16 10:20:27 +1100 |
commit | 3b2353b5aecf0b711e419cabc2a0e0a6682110cf (patch) | |
tree | b40591d901422eb41ae498ddc7195f0c802ab07c /pkg/gui/view_helpers.go | |
parent | 3f567c952c310a1bc446c2c89fc5857b8ef79053 (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/view_helpers.go')
-rw-r--r-- | pkg/gui/view_helpers.go | 4 |
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) } |