Commit dfcb0ed5 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-push-web-hook-note' into 'master'

Add note about only 20 commits being included in push payload

See merge request gitlab-org/gitlab-ce!16149
parents 3d8c898a e5eb6710
...@@ -54,6 +54,12 @@ Below are described the supported events. ...@@ -54,6 +54,12 @@ Below are described the supported events.
Triggered when you push to the repository except when pushing tags. Triggered when you push to the repository except when pushing tags.
> **Note:** When more than 20 commits are pushed at once, the `commits` web hook
attribute will only contain the first 20 for performance reasons. Loading
detailed commit data is expensive. Note that despite only 20 commits being
present in the `commits` attribute, the `total_commits_count` attribute will
contain the actual total.
**Request header**: **Request header**:
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment