]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_mirror: make _finish_add_external call more obvious
authorEric Wong <e@80x24.org>
Thu, 20 Oct 2022 08:43:13 +0000 (08:43 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Oct 2022 08:18:33 +0000 (08:18 +0000)
I get easily confused, sometimes :x

lib/PublicInbox/LeiMirror.pm

index fa1d2e88b20bbec1bf6a745418ab51c141f40381..1dbd4d0a36996ade295218ed6dc23449d3a3d129 100644 (file)
@@ -25,6 +25,7 @@ sub _wq_done_wait { # dwaitpid callback (via wq_eof)
                warn("unlink($f): $!\n") unless $!{ENOENT};
        } else {
                if ($lei->{cmd} ne 'public-inbox-clone') {
+                       # calls _finish_add_external
                        $lei->lazy_cb('add-external', '_finish_'
                                        )->($lei, $mrr->{dst});
                }