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>2016-11-14 20:41:14 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-11-14 20:41:14 +0300
commit3128641f7eb93fec0930ebfb83a93dfa5e0b343a (patch)
tree4dee0efc686a75ff904ba3fa921bb181ac740212 /app/services/files
parentf5bc41b3861c8951ff54ec360b450ec99228776b (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')
-rw-r--r--app/services/files/base_service.rb2
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]}")