X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Fgit.t;fp=t%2Fgit.t;h=dfd7173a432c78dd9072a9530be7e1695b4ee20d;hb=7d626338a6bf02c1098ba16302f5c13be0370673;hp=228df90fa45861ef0e87444ea5a057a4389e40e7;hpb=476f054f21ee64a08418cacb23b5a48c68858441;p=public-inbox.git diff --git a/t/git.t b/t/git.t index 228df90f..dfd7173a 100644 --- 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);