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
This commit is contained in:
Achilleas Pipinellis 2018-01-09 13:26:12 +00:00
commit dfcb0ed53d
1 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,12 @@ Below are described the supported events.
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**:
```