Commit 6d885dd0 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Don't make Commit#raw_deltas private

parent dd481a0c
...@@ -335,6 +335,10 @@ class Commit ...@@ -335,6 +335,10 @@ class Commit
# end # end
end end
def raw_deltas
raw.deltas
end
def diffs(diff_options = nil) def diffs(diff_options = nil)
Gitlab::Diff::FileCollection::Commit.new(self, diff_options: diff_options) Gitlab::Diff::FileCollection::Commit.new(self, diff_options: diff_options)
end end
...@@ -385,10 +389,6 @@ class Commit ...@@ -385,10 +389,6 @@ class Commit
changes changes
end end
def raw_deltas
raw.deltas
end
def merged_merge_request?(user) def merged_merge_request?(user)
!!merged_merge_request(user) !!merged_merge_request(user)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment