1
0
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:
Stefan Haller
2025-07-02 15:49:25 +02:00
parent ee62878e6b
commit 80e20417a8

View File

@ -333,7 +333,8 @@ func (self *CommitFilesController) discard(selectedNodes []*filetree.CommitFileN
if self.context().RangeSelectEnabled() { if self.context().RangeSelectEnabled() {
self.context().GetList().CancelRangeSelect() self.context().GetList().CancelRangeSelect()
} }
return self.c.Refresh(types.RefreshOptions{Mode: types.SYNC})
return nil
}) })
}, },
}) })