提交 dfcb0ed5 编写于 作者: A 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
......@@ -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**:
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册