git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] t5705: Use the correct file:// URL

From
Torsten Bögershausen <tboegi@web.de>
Date
Nov 13, 2014, 07:36 UTC
Message-ID
<54645F67.30008@web.de>

A URL like file;//. is (no longer) supported by Git: 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>
---
 t/t5705-clone-2gb.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t5705-clone-2gb.sh b/t/t5705-clone-2gb.sh
index e9783c3..191d6d3 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
 
 '
 
-- 
1.9.1.dirty
Next: Jeff King
Message 1 of 3 in “t5705: Use the correct file:// URL”
  1. t5705: Use the correct file:// URLTorsten Bögershausen, Nov 13, 2014
  2. Jeff KingNov 13, 2014
  3. Junio C HamanoNov 13, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.