From: Junio C Hamano Date: Wed, 30 May 2012 22:10:37 GMT Subject: Re: [PATCH 2/2] clone: allow --no-local to turn off local optimizations Message-ID: <7vmx4pxqua.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120530215912.GC3237@sigill.intra.peff.net> Jeff King writes: > 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".