about summary refs log tree commit homepage
path: root/lib/PublicInbox/WwwCoderepo.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/WwwCoderepo.pm')
-rw-r--r--lib/PublicInbox/WwwCoderepo.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/WwwCoderepo.pm b/lib/PublicInbox/WwwCoderepo.pm
index 7a2cb80b..8a490b6c 100644
--- a/lib/PublicInbox/WwwCoderepo.pm
+++ b/lib/PublicInbox/WwwCoderepo.pm
@@ -308,6 +308,7 @@ sub srv { # endpoint called by PublicInbox::WWW
                 PublicInbox::RepoSnapshot::srv($ctx, $2) // r(404);
         } elsif ($path_info =~ m!\A/(.+?)/atom/(.*)\z! and
                         ($ctx->{git} = $cr->{$1})) {
+                $ctx->{lh} = $self->{log_fh};
                 PublicInbox::RepoAtom::srv_atom($ctx, $2) // r(404);
         } elsif ($path_info =~ m!\A/(.+?)/tags\.atom\z! and
                         ($ctx->{git} = $cr->{$1})) {