diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-06-20 18:51:48 +0200 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-07-06 18:50:58 -0400 |
commit | a9fa45f09e6b6188691f37d75883b22edce7bba1 (patch) | |
tree | 93072651554f59e90c0c2a72761c2bb7f7edc719 /app/controllers/projects/commit_controller.rb | |
parent | 6ce25e7b4caa9e94de74378729178c7060d640b2 (diff) | |
download | gitlab-ce-a9fa45f09e6b6188691f37d75883b22edce7bba1.tar.gz |
Represent DiffRefs as proper class instead of tuple array
Diffstat (limited to 'app/controllers/projects/commit_controller.rb')
-rw-r--r-- | app/controllers/projects/commit_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects/commit_controller.rb b/app/controllers/projects/commit_controller.rb index d162a5a3165..37d6521026c 100644 --- a/app/controllers/projects/commit_controller.rb +++ b/app/controllers/projects/commit_controller.rb @@ -121,7 +121,6 @@ class Projects::CommitController < Projects::ApplicationController opts[:ignore_whitespace_change] = true if params[:format] == 'diff' @diffs = commit.diffs(opts) - @diff_refs = [commit.parent || commit, commit] @notes_count = commit.notes.count @statuses = CommitStatus.where(pipeline: pipelines) |