diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-09 13:48:21 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-09 13:48:21 +0200 |
commit | f1a14d685702bc8ea29791cda8440c3bab3c14a1 (patch) | |
tree | d83532d09e184dc2cd8dd3d6556ece28ab1f9ddf | |
parent | 48254d187f421dfeb85a84bf2b86399add6e6a67 (diff) | |
download | gitlab-ce-f1a14d685702bc8ea29791cda8440c3bab3c14a1.tar.gz |
Don't make Commit#raw_deltas private
-rw-r--r-- | app/models/commit.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb index e1da8e75c0c..e31ca64cee9 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -336,6 +336,10 @@ class Commit end end + def raw_deltas + raw.deltas + end + def diffs(diff_options = nil) Gitlab::Diff::FileCollection::Commit.new(self, diff_options: diff_options) end @@ -386,10 +390,6 @@ class Commit changes end - def raw_deltas - raw.deltas - end - def merged_merge_request?(user) !!merged_merge_request(user) end |