From: Jeff King Date: Mon, 09 Nov 2015 17:50:26 GMT Subject: Re: [PATCH] t5813: avoid creating urls that break on cygwin Message-ID: <20151109175025.GC29468@sigill.intra.peff.net> In-Reply-To: <20151109174932.GA14146@spirit> On Mon, Nov 09, 2015 at 06:49:35PM +0100, Dennis Kaarsemaker wrote: > 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 > --- > > You're right of course. Somehow I remembered that the fake ssh was doing the > stripping, but didn't check that when writing the commit message. How about > this version? Looks good. Thanks. -Peff