Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad commits count on tag trees #17687

Closed
sibzou opened this issue Nov 17, 2021 · 1 comment · Fixed by #17698
Closed

Bad commits count on tag trees #17687

sibzou opened this issue Nov 17, 2021 · 1 comment · Fixed by #17698
Assignees
Labels
Milestone

Comments

@sibzou
Copy link

sibzou commented Nov 17, 2021

Gitea Version

1.15.6

Git Version

2.34.0

Operating System

No response

How are you running Gitea?

I'm running the official build from https://gitea.io

Database

SQLite

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Description

When you have many tags in a repository and you browse the tree of one of them, the commits count in the up left corner displays the commits count of the last pushed tag and not the tag you are browsing.

You can see it here : https://try.gitea.io/issuereporter224/repo

You have 5 very simple commits and 3 tags on them. If you select the last tag "vfour", it displays 4 commits so it's good. But if you select one of the 2 tags above, it will continue to display 4 commits when it should display 2 commits on the "vtwo" tag and 1 commit on the "vone" tag.

Thank a lot for all your work, i love gitea 😀

Screenshots

image

@lunny lunny added the type/bug label Nov 17, 2021
@lunny lunny added this to the 1.15.7 milestone Nov 17, 2021
@KN4CK3R KN4CK3R self-assigned this Nov 17, 2021
@KN4CK3R
Copy link
Member

KN4CK3R commented Nov 17, 2021

I found the problem but noticed some follow-up problems which prevent a quick PR.

@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants