Re: Issue 323 in msysgit: Can't clone over http
- From
Tay Ray Chuan <rctay89@gmail.com>
- Date
- Sep 8, 2009, 13:10 UTC
- Message-ID
- <be6fef0d0909080610j89c0a4bkf1cb0119b9b11db@mail.gmail.com>
- In-Reply-To
- <7v7hwatw0v.fsf@alter.siamese.dyndns.org>
Hi,
On Tue, Sep 8, 2009 at 3:06 AM, Junio C Hamano<gitster@pobox.com> wrote:
Show 10 quoted lines
> I am torn about this. > > On one hand, if we are going to treat such a half failure as nothing > conclusive, I do not see a point to keep that check to begin with. > > On the other hand, if a HEAD request to a URL results in an unauthorized, > what plausible excuse the server operator could give for allowing a GET > request to the same URL? If we are going to keep the check if *.pack that > corresponds to the *.idx will be available, shouldn't we trust whatever > check we perform?
I am in favour or removing this check, not just due to its unreliability, but for the sake of consistency (we very rarely send a HEAD request to poll data before doing a GET).
Do disregard the patch included earlier, if you haven't already done so.
-- Cheers, Ray Chuan