revisions: allow --glob and friends in parse_options-enabled commands
[gitweb.git] / t / t1300-repo-config.sh
index c3d91d10a03d25b912d56fa578828cb111826617..53fb8228cf18e2b58f3ea63e98a0220fa0fd39f2 100755 (executable)
@@ -889,6 +889,10 @@ test_expect_success 'key sanity-checking' '
        test_must_fail git config foo.1bar &&
        test_must_fail git config foo."ba
                                z".bar &&
+       test_must_fail git config . false &&
+       test_must_fail git config .foo false &&
+       test_must_fail git config foo. false &&
+       test_must_fail git config .foo. false &&
        git config foo.bar true &&
        git config foo."ba =z".bar false
 '