about summary refs log tree commit homepage
path: root/lib/PublicInbox/GitAsyncCat.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/GitAsyncCat.pm')
-rw-r--r--lib/PublicInbox/GitAsyncCat.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/GitAsyncCat.pm b/lib/PublicInbox/GitAsyncCat.pm
index f168169f..65e16121 100644
--- a/lib/PublicInbox/GitAsyncCat.pm
+++ b/lib/PublicInbox/GitAsyncCat.pm
@@ -30,7 +30,7 @@ sub event_step {
         my $inflight = $git->{inflight};
         if (@$inflight) {
                 $git->cat_async_step($inflight);
-                $self->requeue if @$inflight || length(${$git->{'--batch'}});
+                $self->requeue if @$inflight || exists $git->{cat_rbuf};
         }
 }