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

Git commits not counted correctly after "git reset" #6635

Closed
2 of 7 tasks
theAkito opened this issue Apr 15, 2019 · 2 comments
Closed
2 of 7 tasks

Git commits not counted correctly after "git reset" #6635

theAkito opened this issue Apr 15, 2019 · 2 comments

Comments

@theAkito
Copy link

theAkito commented Apr 15, 2019

  • Gitea version (or commit ref): b04a1d9
  • Git version: 2.11.0
  • Operating system: DietPi, based on Raspbian GNU/Linux 9 (stretch)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Not a duplicate of #4424.

I just ran git reset --soft "HEAD^" on one of my repositories. This removes the last commit from entirely the local branch and from its history. After running git push -f I ran git rev-list --count master which now shows 219 commits, instead of 220 commits, which is correct.

My Gitea instance still shows 220 commits.

Now I added another commit on this repository and it still shows 220 commits, so apparently the error is resolved.

Screenshots

@stale
Copy link

stale bot commented Jun 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale stale bot added the issue/stale label Jun 14, 2019
@stale
Copy link

stale bot commented Jun 28, 2019

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale stale bot closed this as completed Jun 28, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant