Am 26.05.2012 05:45, schrieb Jeff King: > And did you know that file:// URLs > can have a hostname in them? How useless. ... > +test_expect_success 'cloning file:// turns off local optimizations' ' > + git clone --bare file://"$PWD"/a non-local && > + ! repo_is_hardlinked non-local > +' > + > +test_expect_success 'cloning file:// with --local uses hardlinks' ' > + git clone --bare --local file://"$PWD"/a force-local && > + repo_is_hardlinked force-local > +' > + > +test_expect_success 'cloning file:// with --local parses URL properly' ' > + git clone --bare --local file://host/"$PWD"/%61 force-local-odd && > + repo_is_hardlinked force-local-odd > +' I'm pretty certain that we must use file://c:/path/to/repo on Windows to make these work. This means we need $(pwd) rather than $PWD. But what does this mean w.r.t. parsing the URL in the strict sense? Is "c:" the host part? -- Hannes -- 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