diff options
author | Dennis Kaarsemaker <dennis@kaarsemaker.net> | 2015-11-09 18:49:35 +0100 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2015-11-20 06:46:48 -0500 |
commit | 681390b3f618ebffb94de36e6de21665023f6e92 (patch) | |
tree | c1aa487d742e927c8c175d9f2465eb8caaf6a833 /t/t5512-ls-remote.sh | |
parent | Git 2.6.3 (diff) | |
download | tgif-681390b3f618ebffb94de36e6de21665023f6e92.tar.xz |
t5813: avoid creating urls that break on cygwin
When passed an ssh:// url, git strips ssh://host from the url but does
not remove leading slashes from the path. So when this test used
ssh://remote//path/to/pwd, the path accessed by our fake SSH is
//path/to/pwd, which cygwin interprets as a UNC path, causing the test
to fail.
We may want to actually fix this in git itself, making it remove extra
slashes from urls before feeding them to transports or helpers, but
that's for another topic as it could cause regressions.
Signed-off-by: Dennis Kaarsemaker <dennis@kaarsemaker.net>
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 't/t5512-ls-remote.sh')
0 files changed, 0 insertions, 0 deletions