author | Petr Baudis <pasky@suse.cz> | |
Fri, 21 Oct 2005 16:18:46 +0000 (18:18 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 23 Oct 2005 18:49:25 +0000 (11:49 -0700) | ||
commit | e2029eb963bab6efeff48a7e1ded93842a257717 | |
tree | 6d8755bf4c40ac448c9bfb6f70e2b0c43dbcef67 | tree | snapshot |
parent | 8ac3a61f59173d4a9a328518be83a25df610a5ef | commit | diff |
Silence confusing and false-positive curl error message
git-http-fetch spits out curl 404 error message when unable to fetch an object,
but that's confusing since no error really happened and the object is usually
found in a pack it tries right after that. And if the object still cannot be
retrieved, it will say another error message anyway. OTOH other HTTP errors
(403 etc) are likely fatal and the user should be still informed about them.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-http-fetch spits out curl 404 error message when unable to fetch an object,
but that's confusing since no error really happened and the object is usually
found in a pack it tries right after that. And if the object still cannot be
retrieved, it will say another error message anyway. OTOH other HTTP errors
(403 etc) are likely fatal and the user should be still informed about them.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c | diff | blob | history |