summaryrefslogtreecommitdiff
path: root/t/t1307-config-blob.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t1307-config-blob.sh')
-rwxr-xr-xt/t1307-config-blob.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t1307-config-blob.sh b/t/t1307-config-blob.sh
index eed31ff..37dc689 100755
--- a/t/t1307-config-blob.sh
+++ b/t/t1307-config-blob.sh
@@ -73,4 +73,8 @@ test_expect_success 'can parse blob ending with CR' '
test_cmp expect actual
'
+test_expect_success 'config --blob outside of a repository is an error' '
+ test_must_fail nongit git config --blob=foo --list
+'
+
test_done