summaryrefslogtreecommitdiff
path: root/lib/gitlab/diff/file_collection/commit.rb
blob: 7b1d6171e827b8d52f9d9bfda410496f49eb5456 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Gitlab
  module Diff
    module FileCollection
      class Commit < Base
        def initialize(commit, diff_options:)
          super(commit,
            project: commit.project,
            diff_options: diff_options,
            diff_refs: commit.diff_refs)
        end
      end
    end
  end
end