Pushing to non-existent repos gives 500 (rather than 404)
Description of the problem
If you attempt to push to a repository which doesn't exist, owned by a user who does exist, the server returns "500 Internal Server Error":
$ git remote add dfdf email@example.com:marnanel/dfdf $ git push dfdf master 500 Internal Server Error fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
User errors such as this should result in 4xx errors-- probably 404 in this case. 500 should never occur in response to a user action.