forgejo/tests/gitea-repositories-meta/user2/repo-release.git/objects/d0
oliverpool 077160b838
fix calReleaseNumCommitsBehind (#24148) (#24197)
Backport #24148

`repoCtx.CommitsCount` is not reliably the commit count of the default
branch (Repository.GetCommitsCount depends on what is currently
displayed).

_contributed in the context of @forgejo_

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2023-04-22 12:30:24 -04:00
..
718fe871fbb54da104ff201f75f62a6ced2e29 fix calReleaseNumCommitsBehind (#24148) (#24197) 2023-04-22 12:30:24 -04:00