]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/git.t
imap: drop old, pre-Parse::RecDescent search parser
[public-inbox.git] / t / git.t
diff --git a/t/git.t b/t/git.t
index 228df90fa45861ef0e87444ea5a057a4389e40e7..dfd7173a432c78dd9072a9530be7e1695b4ee20d 100644 (file)
--- a/t/git.t
+++ b/t/git.t
@@ -84,7 +84,8 @@ if (1) {
        ok($gcf->packed_bytes > 0, 'packed size is positive');
 }
 
-if ('alternates reloaded') {
+SKIP: {
+       require_git(2.6, 7) or skip('need git 2.6+ for --batch-all-objects', 7);
        my ($alt, $alt_obj) = tmpdir();
        my $hash_obj = [ 'git', "--git-dir=$alt", qw(hash-object -w --stdin) ];
        PublicInbox::Import::init_bare($alt);