From: Torsten Bögershausen Date: Thu, 13 Nov 2014 07:36:07 +0000 (+0100) Subject: t5705: the file:// URL should be absolute X-Git-Tag: v2.2.0-rc3~9^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f904f6603a0c34645dbb307408e0e4033b5e1113;p=git t5705: the file:// URL should be absolute The test misused a URL "file://." to mean "relative to here", which we no longer accept. In a file:// URL, typically there is no host, and RFC1738 says that file:/// should be used. Update t5705 to use a working URL. Reported-by: Michael Blume Signed-off-by: Torsten Bögershausen Signed-off-by: Junio C Hamano --- diff --git a/t/t5705-clone-2gb.sh b/t/t5705-clone-2gb.sh index e9783c341a..191d6d3a78 100755 --- a/t/t5705-clone-2gb.sh +++ b/t/t5705-clone-2gb.sh @@ -46,7 +46,7 @@ test_expect_success CLONE_2GB 'clone - bare' ' test_expect_success CLONE_2GB 'clone - with worktree, file:// protocol' ' - git clone file://. clone-wt + git clone "file://$(pwd)" clone-wt '