diff options
author | Eric Wong <e@80x24.org> | 2014-04-21 10:10:14 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-21 10:10:14 +0000 |
commit | bbe5d24accf4f10af1a9a5ae46df10604c1410f5 (patch) | |
tree | 2b08dfc1770cc99a8b25c987165953c737a99365 /lib/PublicInbox/Feed.pm | |
parent | b39e6e140d7a074dfb5c7b768285736511e04d97 (diff) | |
download | public-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.
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r-- | lib/PublicInbox/Feed.pm | 4 |
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 |