Skip to content

Commit cb418b5

Browse files
Johannes Sixtgitster
authored andcommitted
t5700-clone-reference: Quote $U
The new "trash directory" bites again. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 40672a1 commit cb418b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/t5700-clone-reference.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ diff expected current'
5252

5353
cd "$base_dir"
5454

55-
rm -f $U
55+
rm -f "$U"
5656

5757
test_expect_success 'cloning with reference (no -l -s)' \
58-
'GIT_DEBUG_SEND_PACK=3 git clone --reference B "file://$(pwd)/A" D 3>$U'
58+
'GIT_DEBUG_SEND_PACK=3 git clone --reference B "file://$(pwd)/A" D 3>"$U"'
5959

6060
test_expect_success 'fetched no objects' \
61-
'! grep "^want" $U'
61+
'! grep "^want" "$U"'
6262

6363
cd "$base_dir"
6464

0 commit comments

Comments
 (0)