]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwListing.pm
wwwlisting: fix spelling and clarify sub location
[public-inbox.git] / lib / PublicInbox / WwwListing.pm
index 1d4029f047ed35a738ed7c75854d374f23ba93c2..03534f03e670c6b92e5da18ab4975984fe88a6ed 100644 (file)
@@ -96,7 +96,7 @@ sub html ($$) {
                $title .= ' - listing';
                $code = 200;
 
-               # Swartzian transform since ->modified is expensive
+               # Schwartzian transform since Inbox->modified is expensive
                @$list = sort {
                        $b->[0] <=> $a->[0]
                } map { [ $_->modified, $_ ] } @$list;
@@ -141,7 +141,7 @@ sub fingerprint ($) {
 sub manifest_add ($$;$$) {
        my ($manifest, $ibx, $epoch, $default_desc) = @_;
        my $url_path = "/$ibx->{name}";
-       my $git_dir = $ibx->{mainrepo};
+       my $git_dir = $ibx->{inboxdir};
        if (defined $epoch) {
                $git_dir .= "/git/$epoch.git";
                $url_path .= "/git/$epoch.git";