]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei_mirror: delimit names by `\n' to improve die message
authorEric Wong <e@80x24.org>
Thu, 20 Oct 2022 08:43:14 +0000 (08:43 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Oct 2022 08:18:35 +0000 (08:18 +0000)
Attempting to clone a top-level manifest should work,
eventually.  But for now, make the list of git repos
more readable.

lib/PublicInbox/LeiMirror.pm

index 1dbd4d0a36996ade295218ed6dc23449d3a3d129..ed8e4842c453336a3f96fe5c914262d31dbf5110 100644 (file)
@@ -402,7 +402,7 @@ EOM
                clone_v1($self);
        } else {
                die "E: confused by <$uri>, possible matches:\n\t",
-                       join(', ', sort keys %$m), "\n";
+                       join("\n\t", sort keys %$m), "\n";
        }
        if (delete $self->{-culled_manifest}) { # set by clone_v2
                # write the smaller manifest if epochs were skipped so