projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix tests breaking when checkout path contains shell metacharacters
[git.git]
/
t
/
t5700-clone-reference.sh
diff --git
a/t/t5700-clone-reference.sh
b/t/t5700-clone-reference.sh
index b6a54867b491ba67e4813fd492a1a8cc16959a21..e5619a9f5c9aae8c9565dd6937c20ce6401d26d4 100755
(executable)
--- a/
t/t5700-clone-reference.sh
+++ b/
t/t5700-clone-reference.sh
@@
-51,7
+51,7
@@
diff expected current'
cd "$base_dir"
test_expect_success 'cloning with reference (no -l -s)' \
-'git clone --reference B
file://`pwd`/A
D'
+'git clone --reference B
"file://$(pwd)/A"
D'
cd "$base_dir"