Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/commit.rb')
-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