1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

fix cherry picking bug

This commit is contained in:
Jesse Duffield 2022-03-26 17:07:04 +11:00
parent 077b6eb8a3
commit e0b05f4464

View File

@ -220,5 +220,5 @@ func (self *BasicCommitsController) copy(commit *models.Commit) error {
}
func (self *BasicCommitsController) copyRange(*models.Commit) error {
return self.helpers.CherryPick.CopyRange(self.context.GetSelectedLineIdx(), self.model.Commits, self.context)
return self.helpers.CherryPick.CopyRange(self.context.GetSelectedLineIdx(), self.context.GetCommits(), self.context)
}