Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-fetch: avoid local fetching from alternate (again)
[gitweb.git]
/
t
/
t5510-fetch.sh
diff --git
a/t/t5510-fetch.sh
b/t/t5510-fetch.sh
index d2176571462af7dd66ecdb197731cd9d810dccdf..aad863db7ad74ed217b3bcc76de43556f9fe7a07 100755
(executable)
--- a/
t/t5510-fetch.sh
+++ b/
t/t5510-fetch.sh
@@
-208,4
+208,11
@@
test_expect_success 'fetch with a non-applying branch.<name>.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