-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Empty repository show error 500 #18722
Comments
Possible related to:
|
Confirmed, it is the case. But git document never mentioned that. If we run |
What's the old git version? |
Can we use:
Instead. Btw @lunny I missed your reply on my comment:
Still just uses the HEAD branch. If we wanted to check if a repo had any branches or tags we'd need to use for-each-ref or the like. |
Author reported |
|
Gitea Version
1.16.1
Git Version
2.13.6
Operating System
Ubuntu server 20.04
How are you running Gitea?
Installed from binary
Database
MySQL
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/TOMeeeek/554a4d6ed4a6336683904887c086f0e4
Description
After upgrading from Gitea 1.15.9 to 1.16.1, a 500 error is reported when entering an empty repository. When downgrading to 1.15.9 again everything is without problems.
Screenshots
No response
The text was updated successfully, but these errors were encountered: