X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5302-pack-index.sh;h=fe82025d4a0dbae0cee3d0c3943617ede5b5c7a5;hb=90e6ef53203e5567aadda2f76b69a40251987a07;hp=f8fa92446cfc46309468b4ecf142b74b1a812985;hpb=b95ffc143fee155e9ef7ef5e4def38c58febf2ee;p=git.git diff --git a/t/t5302-pack-index.sh b/t/t5302-pack-index.sh index f8fa92446..fe82025d4 100755 --- a/t/t5302-pack-index.sh +++ b/t/t5302-pack-index.sh @@ -73,6 +73,10 @@ test_expect_success 'index-pack --verify on index version 2' ' git index-pack --verify "test-2-${pack2}.pack" ' +test_expect_success \ + 'pack-objects --index-version=2, is not accepted' \ + 'test_must_fail git pack-objects --index-version=2, test-3