mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 04:26:27 +08:00

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>