Thread (1 message) 1 message, 1 author, 2016-06-15

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:04

Martin Langhoff [off-list ref] writes:
Junio C Hamano wrote:
quoted
quoted
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 ;-).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help