git clone over HTTP returns 500 on invalid host name
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Jun 13, 2012, 23:36 UTC
- Message-ID
- <CAJo=hJuax3-x53HJT-s32euyf2=d57MsRCQWo6NZO3OL35+o7g@mail.gmail.com>
$ git clone https://this.host.does.not.exist/foo Cloning into 'foo'... error: The requested URL returned error: 500 while accessing http://this.host.does.not.exist/foo/info/refs fatal: HTTP request failed
Hmm. Telling me the host doesn't exist is more useful than 500:
$ git clone git://this.host.does.not.exist/foo Cloning into 'foo'... fatal: Unable to look up this.host.does.not.exist (port 9418) (Name or service not known)
Does anyone care about this other than me? :-)