about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2014-04-21 10:10:14 +0000
committerEric Wong <e@80x24.org>2014-04-21 10:10:14 +0000
commitbbe5d24accf4f10af1a9a5ae46df10604c1410f5 (patch)
tree2b08dfc1770cc99a8b25c987165953c737a99365
parentb39e6e140d7a074dfb5c7b768285736511e04d97 (diff)
downloadpublic-inbox-bbe5d24accf4f10af1a9a5ae46df10604c1410f5.tar.gz
We do not have much history in public-inbox meta, so do
not mislead users with strange navigation elements which
lead nowhere.
-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