On Wed, May 30, 2012 at 07:03:05AM -0400, Jeff King wrote: > 2. File URLs require absolute paths[1]. You can't do the equivalent of > "git clone --no-local foo.git" without resorting to $PWD. 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html