X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5510-fetch.sh;h=aad863db7ad74ed217b3bcc76de43556f9fe7a07;hb=7481ebe9918771a9269c7fd0e91e855f18f2bc52;hp=d2176571462af7dd66ecdb197731cd9d810dccdf;hpb=6959893b0b65ebc68ce2fb524a8ec15a26ca4972;p=git.git diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh index d21765714..aad863db7 100755 --- a/t/t5510-fetch.sh +++ b/t/t5510-fetch.sh @@ -208,4 +208,11 @@ test_expect_success 'fetch with a non-applying branch..merge' ' git fetch blub ' +# the strange name is: a\!'b +test_expect_success 'quoting of a strangely named repo' ' + ! git fetch "a\\!'\''b" > result 2>&1 && + cat result && + grep "fatal: '\''a\\\\!'\''b'\''" result +' + test_done