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 <[email protected]> Signed-off-by: Torsten Bögershausen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7fa1365 commit f904f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)