summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-05-09 13:48:21 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-05-09 13:48:21 +0200
commitf1a14d685702bc8ea29791cda8440c3bab3c14a1 (patch)
treed83532d09e184dc2cd8dd3d6556ece28ab1f9ddf
parent48254d187f421dfeb85a84bf2b86399add6e6a67 (diff)
downloadgitlab-ce-f1a14d685702bc8ea29791cda8440c3bab3c14a1.tar.gz
Don't make Commit#raw_deltas private
-rw-r--r--app/models/commit.rb8
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