diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-01-06 04:41:17 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-01-06 04:41:17 +0800 |
commit | dea589d635d4c41fbf0db721b132ea466c34cb4a (patch) | |
tree | dc8d37aa2e1cd6c8df9c5488d03b8479772a5852 /app/models | |
parent | a30f278bdee399346f199ada0e33f5c2d233d861 (diff) | |
download | gitlab-ce-dea589d635d4c41fbf0db721b132ea466c34cb4a.tar.gz |
Prefer leading dots over trailing dots
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/merge_request_diff.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/merge_request_diff.rb b/app/models/merge_request_diff.rb index 7946d8e123e..00c2a3695af 100644 --- a/app/models/merge_request_diff.rb +++ b/app/models/merge_request_diff.rb @@ -169,8 +169,8 @@ class MergeRequestDiff < ActiveRecord::Base # When compare merge request versions we want diff A..B instead of A...B # so we handle cases when user does squash and rebase of the commits between versions. # For this reason we set straight to true by default. - CompareService.new(project, head_commit_sha). - execute(project, sha, straight: straight) + CompareService.new(project, head_commit_sha) + .execute(project, sha, straight: straight) end def commits_count |