gitea/models/fixtures
oliverpool bb2783860b
fix calReleaseNumCommitsBehind (#24148)
`repoCtx.CommitsCount` is not reliably the commit count of the default
branch (Repository.GetCommitsCount depends on what is currently
displayed).

For instance on the releases page the commit count is correct:
https://codeberg.org/Codeberg/pages-server/releases


![2023-04-15-215027](https://user-images.githubusercontent.com/3864879/232250500-6c05dc00-7030-4ec9-87f1-18c7797d36bf.png)

However it is not on the single page:
https://codeberg.org/Codeberg/pages-server/releases/tag/v4.6.2


![2023-04-15-215036](https://user-images.githubusercontent.com/3864879/232250503-620c8038-7c2c-45a1-b99d-cb994ef955a6.png)

This PR fixes this by removing a "fast branch" which was using this
field (I think this field should be removed, since it is a bit
unpredictable - but this would mean a larger refactoring PR).

_contributed in the context of @forgejo_

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-04-18 21:11:17 +02:00
..
access.yml
access_token.yml
action.yml Support "." char as user name for User/Orgs in RSS/ATOM/GPG/KEYS path ... (#23874) 2023-04-07 18:08:36 +08:00
attachment.yml
collaboration.yml
comment.yml
commit_status.yml
commit_status_index.yml
deleted_branch.yml
deploy_key.yml
email_address.yml
external_login_user.yml
follow.yml
gpg_key.yml
gpg_key_import.yml
hook_task.yml
issue.yml Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
issue_assignees.yml
issue_index.yml
issue_label.yml
issue_user.yml
issue_watch.yml
label.yml Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
lfs_meta_object.yml
login_source.yml
milestone.yml
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
project.yml Fix missed migration in #22235 (#23482) 2023-03-15 10:33:10 +01:00
project_board.yml
project_issue.yml
protected_branch.yml
public_key.yml
pull_request.yml
reaction.yml
release.yml fix calReleaseNumCommitsBehind (#24148) 2023-04-18 21:11:17 +02:00
renamed_branch.yml
repo_archiver.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_transfer.yml
repo_unit.yml fix calReleaseNumCommitsBehind (#24148) 2023-04-18 21:11:17 +02:00
repository.yml fix calReleaseNumCommitsBehind (#24148) 2023-04-18 21:11:17 +02:00
review.yml
star.yml
stopwatch.yml
system_setting.yml
team.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
team_repo.yml
team_unit.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
team_user.yml Improve permission check of packages (#23879) 2023-04-06 22:18:29 +08:00
topic.yml
tracked_time.yml
two_factor.yml
user.yml fix calReleaseNumCommitsBehind (#24148) 2023-04-18 21:11:17 +02:00
user_open_id.yml
user_redirect.yml
watch.yml
webauthn_credential.yml
webhook.yml Add user webhooks (#21563) 2023-03-10 08:28:32 -06:00