about summary refs log tree commit homepage
path: root/lib/PublicInbox/WwwListing.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-14 07:51:45 +0000
committerEric Wong <e@80x24.org>2019-06-14 21:56:40 +0000
commitd304870c3c1e82f0421272e7986fc5c9aafa2889 (patch)
treef2ececec1d8afdc237147888373cdcf305fd3e7c /lib/PublicInbox/WwwListing.pm
parenta0eabc015e22e51cbf8f6060abafd5b53a0ae72f (diff)
downloadpublic-inbox-d304870c3c1e82f0421272e7986fc5c9aafa2889.tar.gz
Try to remain consistent with our own documentation regarding
v2 git "epochs", first.
Diffstat (limited to 'lib/PublicInbox/WwwListing.pm')
-rw-r--r--lib/PublicInbox/WwwListing.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm
index e2724cc4..e052bbff 100644
--- a/lib/PublicInbox/WwwListing.pm
+++ b/lib/PublicInbox/WwwListing.pm
@@ -190,7 +190,7 @@ sub js ($$) {
 
         my $manifest = { -abs2urlpath => {}, -mtime => 0 };
         for my $ibx (@$list) {
-                if (defined(my $max = $ibx->max_git_part)) {
+                if (defined(my $max = $ibx->max_git_epoch)) {
                         for my $epoch (0..$max) {
                                 manifest_add($manifest, $ibx, $epoch);
                         }