summaryrefslogtreecommitdiff
path: root/app/models/repository.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-12-07 23:03:58 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-12-07 23:03:58 +0800
commit5ba468efde94ed823aaccabf2405e63cecfbf9d6 (patch)
treef5e709819fb308ec1dacdf4ce1335a826e28fe15 /app/models/repository.rb
parent5ecd0c81af85476c2328d3836cc68b17ebd5a8a6 (diff)
downloadgitlab-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.rb4
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,