2018-11-05 23:45:35 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-07-26 03:21:42 -04:00
|
|
|
module Gitlab
|
|
|
|
module Diff
|
|
|
|
module FileCollection
|
|
|
|
class Compare < Base
|
|
|
|
def initialize(compare, project:, diff_options:, diff_refs: nil)
|
2016-07-27 13:00:34 -04:00
|
|
|
super(compare,
|
2016-07-26 03:21:42 -04:00
|
|
|
project: project,
|
|
|
|
diff_options: diff_options,
|
|
|
|
diff_refs: diff_refs)
|
|
|
|
end
|
2018-12-04 08:15:19 -05:00
|
|
|
|
|
|
|
def unfold_diff_lines(positions)
|
|
|
|
# no-op
|
|
|
|
end
|
2016-07-26 03:21:42 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|