libgit2/libgit2 — pull request #654 by carlosmn (2012-04-30 16:28:47+00:00)
Title: Recognize and report server-side error messages

When e.g. a repository isn't found, the server sends an error saying
so. Put that error message in our error buffer.

This actually produces a better error message than git, as we pretend that the dumb HTTP transport never existed and actually say what the other end gave us. If you typo really bad and hit a real HTTP server, we'll probably get HTML in return, but I'm going to say that's outside of the library's scope.