]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Config.pm
config: use inbox names to map inboxes <-> coderepos
[public-inbox.git] / lib / PublicInbox / Config.pm
index c48ab2bd5c43c0c85d7c87fabf71782a2fe5c478..cdf06d850e764c7e46f312043414b0fda12df904 100644 (file)
@@ -404,10 +404,8 @@ sub repo_objs {
                        push @repo_objs, $repo if $repo;
                }
                if (scalar @repo_objs) {
-                       require Scalar::Util;
                        for (@repo_objs) {
-                               push @{$_->{-ibxs}}, $ibxish;
-                               Scalar::Util::weaken($_->{-ibxs}->[-1]);
+                               push @{$_->{ibx_names}}, $ibxish->{name};
                        }
                        $ibxish->{-repo_objs} = \@repo_objs;
                } else {