Re: [PATCH] git-clone: Error meaningfully on failed HTTP fetches of HEAD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Langhoff <martin@xxxxxxxxxxxxxxx> writes:

> Junio C Hamano wrote:
>>> A bare clone that fails to fetch HEAD will still complete
>>> "successfully". I'm not sure if that's expected/desired. Is a
>>> HEADless repo valid in any situation?
>> 
>> You would get "fatal: Not a git repository".  Why not default to
>> 'master' (if found) and issue a warning?
>
> And if not found die() for real...? Ok. I'll rework and resend.

Yeah, after making sure we have 'master' there, though ;-).

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]