Skip to content

Incorrect commit count in timeline after force-push #36905

@silverwind

Description

@silverwind

Description

Related to #36653. Steps should be these, untested:

  • Create 1 commit, push
  • Create 2nd commit, push
  • Amend 2nd commit, force-push
  • UI should show the 2 commits that exist on the branch but only shows 1, the count in header is correct already.
Image

Gitea Version

1.25.5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions