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

Branches page still shows no. of commits ahead after merging to master branch #31472

Open
RichardBrookhuis opened this issue Jun 24, 2024 · 4 comments
Labels
Milestone

Comments

@RichardBrookhuis
Copy link

Description

After upgrading from 1.21 to 1.22 I noticed the branches page shows merged branches with the same number of commits ahead as before merging. See screenshot for an example.
Step to reproduce: create a PR, merge it. Branches page will show the branch is merged, but the number of commits ahead is not 0.

Gitea Version

1.22

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

afbeelding

Git Version

2.39.2

Operating System

Windows

How are you running Gitea?

gitea-1.22.0-gogit-windows-4.0-amd64.exe, downloaded from dl.gitea.com, running as a windows service.

Database

SQLite

@greuelpirat
Copy link

I also noticed that when I merge a branch outside of Gitea into the default branch and push it to gitea, the branch is not marked as Included in the branch overview. This seems to be the same issue.

@RichardBrookhuis
Copy link
Author

I just upgraded to 1.22.1, this seems to be fixed now

@RichardBrookhuis
Copy link
Author

Unfortunately, after merging a PR, the problem is back again...
afbeelding

@lunny
Copy link
Member

lunny commented Jul 11, 2024

This should be caused by #29577

@lunny lunny added this to the 1.22.2 milestone Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants