diff options
author | Torsten Bögershausen <tboegi@web.de> | 2014-11-13 08:36:07 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-13 10:41:56 -0800 |
commit | f904f6603a0c34645dbb307408e0e4033b5e1113 (patch) | |
tree | ecb4196c5b2543ebbf43035bacb2b2553feb083a /t/t5705-clone-2gb.sh | |
parent | Merge branch 'nd/gitignore-trailing-whitespace' into maint (diff) | |
download | tgif-f904f6603a0c34645dbb307408e0e4033b5e1113.tar.xz |
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>
Diffstat (limited to 't/t5705-clone-2gb.sh')
-rwxr-xr-x | t/t5705-clone-2gb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 ' |