mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
Band-aid fix for submodule/reset.go test failure (#3047)
This commit is contained in:
commit
4fe8dee40f
|
|
@ -449,9 +449,11 @@ func (self *RefreshHelper) refreshBranches() {
|
|||
|
||||
// Need to re-render the commits view because the visualization of local
|
||||
// branch heads might have changed
|
||||
self.c.Mutexes().LocalCommitsMutex.Lock()
|
||||
if err := self.c.Contexts().LocalCommits.HandleRender(); err != nil {
|
||||
self.c.Log.Error(err)
|
||||
}
|
||||
self.c.Mutexes().LocalCommitsMutex.Unlock()
|
||||
|
||||
self.refreshStatus()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue