diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2015-09-25 16:07:08 -0400 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2015-10-08 16:37:04 -0400 |
commit | 6b739027330cb07484b71c748e30d5966f63d647 (patch) | |
tree | 2cdf6793f774e5bb3a49dec4b369e4e13cb396ea /app | |
parent | 380392212f87fc80bd45c322eda54461d47745b0 (diff) | |
download | gitlab-ce-6b739027330cb07484b71c748e30d5966f63d647.tar.gz |
merge_request: add work_in_progress to MR hooks
Diffstat (limited to 'app')
-rw-r--r-- | app/models/merge_request.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb index f69b7a13c4b..c83b15c7d39 100644 --- a/app/models/merge_request.rb +++ b/app/models/merge_request.rb @@ -275,7 +275,8 @@ class MergeRequest < ActiveRecord::Base attrs = { source: source_project.hook_attrs, target: target_project.hook_attrs, - last_commit: nil + last_commit: nil, + work_in_progress: work_in_progress? } unless last_commit.nil? |