summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-12-07 15:13:06 +0200
committerValery Sizov <vsv2711@gmail.com>2015-12-07 15:13:06 +0200
commit3c97cbc74cf87856ed7b1af197358d4e3adb1240 (patch)
treea19af710652e68c403e3dfa9dc314ba6a92da41a /lib
parent5df2c4419c5019b5003ddfa6adb59c84c3d9910c (diff)
downloadgitlab-ce-webhook_payload_with_changes.tar.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/push_data_builder.rb2
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"