git-svn: fix handling of even funkier branch names
[gitweb.git] / t / t7600-merge.sh
index 94bc556cb2ad5dd56be2aaed82cec8e2edde7265..9516f541e9c47f83fed2fc8d3baa065a9bb206de 100755 (executable)
@@ -230,6 +230,10 @@ test_expect_success 'test option parsing' '
        test_must_fail git merge
 '
 
+test_expect_success 'reject non-strategy with a git-merge-foo name' '
+       test_must_fail git merge -s index c1
+'
+
 test_expect_success 'merge c0 with c1' '
        git reset --hard c0 &&
        git merge c1 &&