]> Sergey Matveev's repositories - public-inbox.git/blobdiff - xt/msgtime_cmp.t
Merge tag 'v1.6.1' into eidx
[public-inbox.git] / xt / msgtime_cmp.t
index 95d7c64bec67a337eaccf44d5b4227d1925a2fad..aa96be4db4877a85dd26140031baa1bcdd2479aa 100644 (file)
@@ -59,11 +59,10 @@ sub compare {
 }
 
 my $fh = $git->popen(@cat);
-$git->cat_async_begin;
 while (<$fh>) {
        my ($oid, $type) = split / /;
        next if $type ne 'blob';
-       $git->cat_async($oid, *compare);
+       $git->cat_async($oid, \&compare);
 }
 $git->cat_async_wait;
 ok(1);