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>
This commit is contained in:
oliverpool
2023-04-22 18:30:24 +02:00
committed by GitHub
parent da4448421e
commit 077160b838
53 changed files with 934 additions and 21 deletions

View File

@@ -0,0 +1,2 @@
x•ŽA
Ă »öî ĹoŚšRJŻňŐ÷i 6Áčń›+t;0ĂäµÖąkKńŇ  1<>¤4şÂdś<64>5$aoŮg ;©Ť>]St6FŚśERNČ4MgeHd0'V|ô÷Úô±Ł‘~p)