summaryrefslogtreecommitdiff
path: root/t/t1302-repo-version.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-30 20:20:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-07-30 20:20:32 (GMT)
commitc28a2d0c12cbd897adf48c52b4d6275a4b84bb78 (patch)
tree68e1ddafacc2ec46f289a607565dbcf2b4dc8f31 /t/t1302-repo-version.sh
parent3161cc6e6bbfa3b2ac822b54006a1262448c1052 (diff)
parentec91ffca0455e1a8a0525fb2a10814447d80c456 (diff)
downloadgit-c28a2d0c12cbd897adf48c52b4d6275a4b84bb78.zip
git-c28a2d0c12cbd897adf48c52b4d6275a4b84bb78.tar.gz
git-c28a2d0c12cbd897adf48c52b4d6275a4b84bb78.tar.bz2
Merge branch 'jk/reject-newer-extensions-in-v0' into master
With the base fix to 2.27 regresion, any new extensions in a v0 repository would still be silently honored, which is not quite right. Instead, complain and die loudly. * jk/reject-newer-extensions-in-v0: verify_repository_format(): complain about new extensions in v0 repo
Diffstat (limited to 't/t1302-repo-version.sh')
-rwxr-xr-xt/t1302-repo-version.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t1302-repo-version.sh b/t/t1302-repo-version.sh
index d60c042..0acabb6 100755
--- a/t/t1302-repo-version.sh
+++ b/t/t1302-repo-version.sh
@@ -87,6 +87,9 @@ allow 1
allow 1 noop
abort 1 no-such-extension
allow 0 no-such-extension
+allow 0 noop
+abort 0 noop-v1
+allow 1 noop-v1
EOF
test_expect_success 'precious-objects allowed' '