# File lib/gitlab_git/compare.rb, line 32 def diffs(options = {}) unless @head && @base return Gitlab::Git::DiffCollection.new([]) end paths = options.delete(:paths) || [] options[:straight] = @straight Gitlab::Git::Diff.between(@repository, @head.id, @base.id, options, *paths) end