diff --git a/t/t5580-clone-push-unc.sh b/t/t5580-clone-push-unc.sh index f932bf88d6..77ae430f7f 100755 --- a/t/t5580-clone-push-unc.sh +++ b/t/t5580-clone-push-unc.sh @@ -31,7 +31,7 @@ esac test_expect_success 'clone into absolute path lacking a drive prefix' ' USINGBACKSLASHES="$(echo "$WITHOUTDRIVE"/without-drive-prefix | - tr / \\)" && + tr / \\\\)" && git clone . "$USINGBACKSLASHES" && test -f without-drive-prefix/.git/HEAD '