Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-01-05 23:41:17 +0300
committerLin Jen-Shin <godfat@godfat.org>2017-01-05 23:41:17 +0300
commitdea589d635d4c41fbf0db721b132ea466c34cb4a (patch)
treedc8d37aa2e1cd6c8df9c5488d03b8479772a5852 /app/services/commits
parenta30f278bdee399346f199ada0e33f5c2d233d861 (diff)
Prefer leading dots over trailing dots
Diffstat (limited to 'app/services/commits')
-rw-r--r--app/services/commits/change_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/commits/change_service.rb b/app/services/commits/change_service.rb
index 4a5d8029413..8d1dfbcea7d 100644
--- a/app/services/commits/change_service.rb
+++ b/app/services/commits/change_service.rb
@@ -70,8 +70,8 @@ module Commits
# Temporary branch exists and contains the change commit
return if repository.find_branch(new_branch)
- result = ValidateNewBranchService.new(@project, current_user).
- execute(new_branch)
+ result = ValidateNewBranchService.new(@project, current_user)
+ .execute(new_branch)
if result[:status] == :error
raise ChangeError, "There was an error creating the source branch: #{result[:message]}"