]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Xapcmd.pm
wwwstream: show relative coderepo URLs correctly
[public-inbox.git] / lib / PublicInbox / Xapcmd.pm
index 6a74daf92b5be1e4345ce473f28a66b3db5e7f1b..4f77ef25333abe91eacb256f0cf7d41f15f1f031 100644 (file)
@@ -109,8 +109,7 @@ sub prepare_reindex ($$$) {
                        $opt->{reindex}->{from} = $lc;
                }
        } else { # v2
-               my $max;
-               $im->git_dir_latest(\$max) or return;
+               my $max = $ibx->max_git_epoch // return;
                my $from = $opt->{reindex}->{from};
                my $mm = $ibx->mm;
                my $v = PublicInbox::Search::SCHEMA_VERSION();