diff options
author | oliverpool <3864879+oliverpool@users.noreply.github.com> | 2023-04-22 18:30:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-22 12:30:24 -0400 |
commit | 077160b8384f100aa1327a86d6d3c08969e679c2 (patch) | |
tree | 7f23352a64968fa21fa77b6adb993e076dfc5803 /tests/gitea-repositories-meta/user2/repo-release.git/objects/c4/a4e1a72a2098d687b4280e7c6972280c1f9c39 | |
parent | da4448421e30c2a58095a93e2e5cc4da66fc9347 (diff) | |
download | gitea-077160b8384f100aa1327a86d6d3c08969e679c2.tar.gz gitea-077160b8384f100aa1327a86d6d3c08969e679c2.zip |
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>
Diffstat (limited to 'tests/gitea-repositories-meta/user2/repo-release.git/objects/c4/a4e1a72a2098d687b4280e7c6972280c1f9c39')
-rw-r--r-- | tests/gitea-repositories-meta/user2/repo-release.git/objects/c4/a4e1a72a2098d687b4280e7c6972280c1f9c39 | bin | 0 -> 166 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/gitea-repositories-meta/user2/repo-release.git/objects/c4/a4e1a72a2098d687b4280e7c6972280c1f9c39 b/tests/gitea-repositories-meta/user2/repo-release.git/objects/c4/a4e1a72a2098d687b4280e7c6972280c1f9c39 Binary files differnew file mode 100644 index 0000000000..27c3726b15 --- /dev/null +++ b/tests/gitea-repositories-meta/user2/repo-release.git/objects/c4/a4e1a72a2098d687b4280e7c6972280c1f9c39 |