forgejo/routers/api/v1/repo
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
..
blob.go
branch.go
collaborators.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
commits.go Add stat to ToCommit function for speed (#21337) 2022-10-06 11:21:04 +08:00
file.go fix hard-coded timeout and error panic in API archive download endpoint (#20925) 2022-08-29 11:45:20 +02:00
fork.go
git_hook.go
git_ref.go Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
hook.go Display total commit count in hook message (#21400) 2022-10-17 00:22:34 +08:00
hook_test.go
issue.go
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
key.go
label.go
language.go
main_test.go
migrate.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
milestone.go
mirror.go
notes.go Add stat to ToCommit function for speed (#21337) 2022-10-06 11:21:04 +08:00
patch.go
pull.go Add stat to ToCommit function for speed (#21337) 2022-10-06 11:21:04 +08:00
pull_review.go
release.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
release_attachment.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
release_tags.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
repo.go Make external issue tracker regexp configurable via API (#21338) 2022-10-07 20:49:30 +08:00
repo_test.go
star.go
status.go
subscriber.go
tag.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
teams.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00
topic.go
transfer.go
tree.go
wiki.go Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00