about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/Feed.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index 0f0528c9..4671323c 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -182,6 +182,10 @@ sub each_recent_blob {
                                 last;
                         }
                 }
+        } elsif ($reverse) {
+                unshift @commits, undef
+        } else {
+                push @commits, undef;
         }
 
         close $log; # we may EPIPE here