From 4cad67e24c9babd9422ed0c450a49d38df2cb314 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 24 Jan 2023 09:49:34 +0000 Subject: www_coderepo: eliminate debug log footer WwwCoderepo is for viewing blobs already in code repositories, so there's no place for a debug log showing which mails were used to arrive at a given blob. The debug footer remains for /$INBOX/$OID/s/ URLs, of course. --- lib/PublicInbox/RepoTree.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/PublicInbox/RepoTree.pm') diff --git a/lib/PublicInbox/RepoTree.pm b/lib/PublicInbox/RepoTree.pm index 4c6ed840..3a848c6f 100644 --- a/lib/PublicInbox/RepoTree.pm +++ b/lib/PublicInbox/RepoTree.pm @@ -51,7 +51,6 @@ sub tree_show { # git check_async callback my ($oid, $type, $size, $ctx) = @_; return find_missing($ctx) if $type eq 'missing'; - open $ctx->{lh}, '<', \(my $dbg_log = '') or die "open(scalar): $!"; my $res = [ $ctx->{git}, $oid, $type, $size ]; my ($bn) = ($ctx->{-path} =~ m!/?([^/]+)\z!); if ($type eq 'blob') { -- cgit v1.2.3-24-ge0c7