On Wed, May 30, 2012 at 07:03:05AM -0400, Jeff King wrote:
I forgot to include my footnote, which was:
You can actually do "git clone file://foo" and we will treat that as
the path "foo". Which does not match the definition of the "file"
scheme, which would interpret that as "host 'foo', no path", but does
match what some other software does. However, if there _is_ a slash,
then we correctly throw away the host bit, so that "file://junk/foo"
_also_ points to the path "foo". Which means there is no equivalent
for:
git clone --no-local subdir/foo.git
-Peff