You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Empty repositories give a 500 with the following error in my logs:
[2024-08-18T22:45:08.116012+02:00] request.CRITICAL: Uncaught PHP Exception GitList\SCM\Exception\CommandException: "fatal: Not a valid object name HEAD " at /home/robinb/domains/git.geheimesite.nl/src/SCM/System/Git/CommandLine.php line 315 {"exception":"[object] (GitList\\SCM\\Exception\\CommandException(code: 0): fatal: Not a valid object name HEAD\n at /home/robinb/domains/git.geheimesite.nl/src/SCM/System/Git/CommandLine.php:315)"} []
I would expect this to show me a message "this repository is empty", similar to cgit, GitHub or GitLab do. Or a 404. Not a 500 at least.
The text was updated successfully, but these errors were encountered:
Empty repositories give a 500 with the following error in my logs:
I would expect this to show me a message "this repository is empty", similar to cgit, GitHub or GitLab do. Or a 404. Not a 500 at least.
The text was updated successfully, but these errors were encountered: