mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +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() {
|
if self.context().RangeSelectEnabled() {
|
||||||
self.context().GetList().CancelRangeSelect()
|
self.context().GetList().CancelRangeSelect()
|
||||||
}
|
}
|
||||||
return self.c.Refresh(types.RefreshOptions{Mode: types.SYNC})
|
|
||||||
|
return nil
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user