[PATCH] Make curl fail on server error
authorCatalin Marinas <catalin.marinas@gmail.com>
Mon, 8 Aug 2005 09:53:23 +0000 (10:53 +0100)
committerJunio C Hamano <junkio@cox.net>
Tue, 9 Aug 2005 05:51:44 +0000 (22:51 -0700)
commitaffa40d2f8c5e72af5896cf395ef77d4162908cd
tree572d4ab7df2134b99851c86d518ee9947abcc28e
parent3c4e8a636f4de3668b24d0020df731cdc78ae6e9
[PATCH] Make curl fail on server error

Some http servers return an HTML error page and git reads it as normal
data. Adding -f option makes curl fail silently.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone-dumb-http
git-fetch-script
git-ls-remote-script