diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-11 09:57:59 -0700 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-11 09:57:59 -0700 |
commit | b2f656796179d4ea8ef3295fa4cf2c6780bcd25e (patch) | |
tree | 2c62f358361cc99aa7189b90333d7c4df8ee932a /lib | |
parent | e349ca1353ac1ab05edd7c7fad4628b2ccf4fd97 (diff) | |
parent | b0c1bc6657032dcb7ef3e1943d003471b09d8b4e (diff) | |
download | gitlab-ce-b2f656796179d4ea8ef3295fa4cf2c6780bcd25e.tar.gz |
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/push_data_builder.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/push_data_builder.rb b/lib/gitlab/push_data_builder.rb index 9fb0bf65949..0cc6b0ac694 100644 --- a/lib/gitlab/push_data_builder.rb +++ b/lib/gitlab/push_data_builder.rb @@ -58,6 +58,7 @@ module Gitlab data[:commits] << commit.hook_attrs(project) end + data[:commits] = "" if data[:commits].count == 0 data end |