mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-03 00:57:52 +02:00
Remove unnecessary refresh
CheckMergeOrRebase already calls Refresh.
This commit is contained in:
@ -333,7 +333,8 @@ func (self *CommitFilesController) discard(selectedNodes []*filetree.CommitFileN
|
||||
if self.context().RangeSelectEnabled() {
|
||||
self.context().GetList().CancelRangeSelect()
|
||||
}
|
||||
return self.c.Refresh(types.RefreshOptions{Mode: types.SYNC})
|
||||
|
||||
return nil
|
||||
})
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user