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

[PATCH] t5700-clone-reference: Quote $U

From
Johannes Sixt <johannes.sixt@telecom.at>
Date
May 27, 2008, 07:36 UTC
Message-ID
<1211873782-28487-1-git-send-email-johannes.sixt@telecom.at>
The new "trash directory" bites again.
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
---
 t/t5700-clone-reference.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t5700-clone-reference.sh b/t/t5700-clone-reference.sh
index e1ca730..1c10916 100755
--- a/t/t5700-clone-reference.sh
+++ b/t/t5700-clone-reference.sh
@@ -52,13 +52,13 @@ diff expected current'
 
 cd "$base_dir"
 
-rm -f $U
+rm -f "$U"
 
 test_expect_success 'cloning with reference (no -l -s)' \
-'GIT_DEBUG_SEND_PACK=3 git clone --reference B "file://$(pwd)/A" D 3>$U'
+'GIT_DEBUG_SEND_PACK=3 git clone --reference B "file://$(pwd)/A" D 3>"$U"'
 
 test_expect_success 'fetched no objects' \
-'! grep "^want" $U'
+'! grep "^want" "$U"'
 
 cd "$base_dir"
 
-- 
1.5.5.1.125.gb9f88
Next: Junio C Hamano
Message 1 of 2 in “t5700-clone-reference: Quote $U”
  1. t5700-clone-reference: Quote $UJohannes Sixt, May 27, 2008
  2. Junio C HamanoMay 28, 2008

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.