summaryrefslogtreecommitdiff
path: root/app/models/compare.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/compare.rb')
-rw-r--r--app/models/compare.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/compare.rb b/app/models/compare.rb
index 7f42e1ee491..f594a796987 100644
--- a/app/models/compare.rb
+++ b/app/models/compare.rb
@@ -92,7 +92,7 @@ class Compare
def diff_refs
Gitlab::Diff::DiffRefs.new(
- base_sha: @straight ? start_commit_sha : base_commit_sha,
+ base_sha: @straight ? start_commit_sha : base_commit_sha,
start_sha: start_commit_sha,
head_sha: head_commit_sha
)