It makes the code easier-to-follow when we have a single
versus multiple entities (`v' for vector, à la `argv').
---
 lib/PublicInbox/LeiMirror.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/PublicInbox/LeiMirror.pm b/lib/PublicInbox/LeiMirror.pm
index 40164b67..faf6a3b6 100644
--- a/lib/PublicInbox/LeiMirror.pm
+++ b/lib/PublicInbox/LeiMirror.pm
@@ -392,7 +392,7 @@ sub v2_done { # called via OnDestroy
        my $mg = PublicInbox::MultiGit->new($dst, 'all.git', 'git');
        $mg->fill_alternates;
        for my $i ($mg->git_epochs) { $mg->epoch_cfg_set($i) }
-       my $entries = delete($self->{-ent}) // [];
+       my $entries = delete($self->{-entv}) // [];
        while (@$entries) {
                my ($edst, $ent) = splice(@$entries);
                if (defined(my $o = $ent->{owner})) {
@@ -450,7 +450,7 @@ failed to extract epoch number from $src
                }
                if (!$want || $want->{$nr}) {
                        push @src_edst, $src, $edst;
-                       push @{$task->{-ent}}, $edst, $ent;
+                       push @{$task->{-entv}}, $edst, $ent;
                } else { # create a placeholder so users only need to chmod +w
                        init_placeholder($src, $edst, $ent);
                        push @{$task->{-read_only}}, $edst;

Reply via email to