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/services/commits | |
parent | a30f278bdee399346f199ada0e33f5c2d233d861 (diff) | |
download | gitlab-ce-dea589d635d4c41fbf0db721b132ea466c34cb4a.tar.gz |
Prefer leading dots over trailing dots
Diffstat (limited to 'app/services/commits')
-rw-r--r-- | app/services/commits/change_service.rb | 4 |
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]}" |