mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-03-27 22:01:46 +02: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…
x
Reference in New Issue
Block a user