1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-09 13:47:11 +02:00

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
This commit is contained in:
Jesse Duffield 2019-03-12 18:57:05 +11:00
parent 3f567c952c
commit 3b2353b5ae

View File

@ -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)
}