From: Junio C Hamano Date: Mon, 20 Mar 2006 22:07:59 +0000 (-0800) Subject: http-fetch: nicer warning for a server with unreliable 404 status X-Git-Tag: v1.3.0-rc1~9^2~9 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;ds=sidebyside;h=bb52807916598301e670963e6cc5f1f5cdca3ad7;hp=bb52807916598301e670963e6cc5f1f5cdca3ad7;p=git.git http-fetch: nicer warning for a server with unreliable 404 status When a repository otherwise properly prepared is served by a dumb HTTP server that sends "No such page" output with 200 status for human consumption to a request for a page that does not exist, the users will get an alarming "File X corrupt" error message. Hint that they might be dealing with such a server at the end and suggest running fsck-objects to check if the result is OK (the pack-fallback code does the right thing in this case so unless a loose object file was actually corrupt the result should check OK). Signed-off-by: Junio C Hamano ---