1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-19 04:38:13 +00:00
Files
gitea/routers/api/v1/repo/hook.go
KN4CK3R cad9adeff4 Display total commit count in hook message (#21400)
Fixes #21379

The commits are capped by `setting.UI.FeedMaxCommitNum` so
`len(commits)` is not the correct number. So this PR adds a new
`TotalCommits` field.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-10-17 00:22:34 +08:00

7.5 KiB