Re: [PATCH 3/3] clone: always fetch remote HEAD
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 3, 2011, 16:28 UTC
- Message-ID
- <7v39jqc21k.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20110603145154.GB11273@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> Actually, I forgot that I did consider this when writing the original > patch. The clone code will only ask for HEAD if the remote side > advertises it. So there is no capability required; either the helper > advertises a HEAD ref or it doesn't. If it does, it should be prepared > for us to ask for its sha1.
Sounds very sensible ;-).