Skip to content

Commit f904f66

Browse files
tboegigitster
authored andcommitted
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:///<path> should be used. Update t5705 to use a working URL. Reported-by: Michael Blume <blume.mike@gmail.com> Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 7fa1365 commit f904f66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

t/t5705-clone-2gb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ test_expect_success CLONE_2GB 'clone - bare' '
4646

4747
test_expect_success CLONE_2GB 'clone - with worktree, file:// protocol' '
4848
49-
git clone file://. clone-wt
49+
git clone "file://$(pwd)" clone-wt
5050
5151
'
5252

0 commit comments

Comments
 (0)