Merge branch 'jc/sha1-lookup'
[gitweb.git] / t / t5505-remote.sh
index 0a7fea865d2be6e1a74e2016f336af22956de414..af2d077792c108a9125c73d1e4194f2532cb5156 100755 (executable)
@@ -253,4 +253,10 @@ test_expect_success '"remote show" does not show symbolic refs' '
 
 '
 
+test_expect_success 'reject adding remote with an invalid name' '
+
+       ! git remote add some:url desired-name
+
+'
+
 test_done