Re: [PATCH 2/2] clone: allow --no-local to turn off local optimizations
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 30, 2012, 22:10 UTC
- Message-ID
- <7vmx4pxqua.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120530215912.GC3237@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 5 quoted lines
> Similarly, I find it a little odd that "git clone file:///foo.git" will > actually find a file named "file:/foo.git" before checking the URL (IOW, > the argument is a path first, and then fallback to URL). I suspect > nobody actually cares about either, as they are very unlikely corner > cases.
Yeah, if anything, I would have expected --no-local to mean "I might have a local file that happens to be the same as this URL, but I am not cloning from there; just go straight to the URL using transports".