diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-12-07 23:03:58 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-12-07 23:03:58 +0800 |
commit | 5ba468efde94ed823aaccabf2405e63cecfbf9d6 (patch) | |
tree | f5e709819fb308ec1dacdf4ce1335a826e28fe15 /app/models/repository.rb | |
parent | 5ecd0c81af85476c2328d3836cc68b17ebd5a8a6 (diff) | |
download | gitlab-ce-5ba468efde94ed823aaccabf2405e63cecfbf9d6.tar.gz |
Not sure why rubocop prefers this but anyway
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index 9393d6b461e..038ab5e104a 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -974,7 +974,7 @@ class Repository source_branch: source_branch, source_project: source_project) do source_sha = source_project.repository.find_source_sha( - source_branch || base_branch) + source_branch || base_branch) committer = user_to_committer(user) Rugged::Commit.create(rugged, @@ -998,7 +998,7 @@ class Repository source_branch: source_branch, source_project: source_project) do source_sha = source_project.repository.find_source_sha( - source_branch || base_branch) + source_branch || base_branch) committer = user_to_committer(user) Rugged::Commit.create(rugged, |