Merge branch 'jc/same-encoding'
[gitweb.git] / t / t1300-repo-config.sh
index 97a25f14845ec598b79211d1fbc2970781f3fcfb..3c96fda548709835e10f283df8cab667c280af81 100755 (executable)
@@ -846,6 +846,11 @@ test_expect_success NOT_MINGW 'get --path copes with unset $HOME' '
        test_cmp expect result
 '
 
+test_expect_success 'get --path barfs on boolean variable' '
+       echo "[path]bool" >.git/config &&
+       test_must_fail git config --get --path path.bool
+'
+
 cat > expect << EOF
 [quote]
        leading = " test"