gitea/tests/gitea-repositories-meta/user2/repo-release.git/objects/08
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
..
9ba8b2f324d89b74f6853374a0476b312a46f6 fix calReleaseNumCommitsBehind (#24148) (#24197) 2023-04-22 12:30:24 -04:00