# File lib/gitlab_git/compare.rb, line 26 def commits return @commits if defined?(@commits) @commits = Gitlab::Git::Commit.between(@repository, @base.id, @head.id) end