diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-12-07 15:13:06 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-12-07 15:13:06 +0200 |
commit | 3c97cbc74cf87856ed7b1af197358d4e3adb1240 (patch) | |
tree | a19af710652e68c403e3dfa9dc314ba6a92da41a /lib | |
parent | 5df2c4419c5019b5003ddfa6adb59c84c3d9910c (diff) | |
download | gitlab-ce-3c97cbc74cf87856ed7b1af197358d4e3adb1240.tar.gz |
fixes after reviewwebhook_payload_with_changes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/push_data_builder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/push_data_builder.rb b/lib/gitlab/push_data_builder.rb index 5842b740e8e..4f9cdef3869 100644 --- a/lib/gitlab/push_data_builder.rb +++ b/lib/gitlab/push_data_builder.rb @@ -31,7 +31,7 @@ module Gitlab # For performance purposes maximum 20 latest commits # will be passed as post receive hook data. commit_attrs = commits_limited.map do |commit| - commit.hook_attrs(true) + commit.hook_attrs(with_changed_files: true) end type = Gitlab::Git.tag_ref?(ref) ? "tag_push" : "push" |