Skip to content

Bad commits count on tag trees #17687

@ghost

Description

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions