diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-11-14 20:41:14 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-11-14 20:41:14 +0300 |
commit | 3128641f7eb93fec0930ebfb83a93dfa5e0b343a (patch) | |
tree | 4dee0efc686a75ff904ba3fa921bb181ac740212 /app/services/files/base_service.rb | |
parent | f5bc41b3861c8951ff54ec360b450ec99228776b (diff) |
Revert "Don't execute git hooks if you create branch as part of other change"
This reverts commit a431ca0f8b7f8967e89a35caddf1e41e53eee290.
Diffstat (limited to 'app/services/files/base_service.rb')
-rw-r--r-- | app/services/files/base_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/files/base_service.rb b/app/services/files/base_service.rb index 1802b932e03..9bd4bd464f7 100644 --- a/app/services/files/base_service.rb +++ b/app/services/files/base_service.rb @@ -74,7 +74,7 @@ module Files end def create_target_branch - result = CreateBranchService.new(project, current_user).execute(@target_branch, @source_branch, source_project: @source_project, with_hooks: false) + result = CreateBranchService.new(project, current_user).execute(@target_branch, @source_branch, source_project: @source_project) unless result[:status] == :success raise_error("Something went wrong when we tried to create #{@target_branch} for you: #{result[:message]}") |