about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoTree.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-01-24 09:49:34 +0000
committerEric Wong <e@80x24.org>2023-01-24 10:07:53 +0000
commit4cad67e24c9babd9422ed0c450a49d38df2cb314 (patch)
treedfe08bd57112df26f74e75f7d059d8d8c51b6f40 /lib/PublicInbox/RepoTree.pm
parentff57c4d03ca6fda821fb841507269da4ff4a99b7 (diff)
downloadpublic-inbox-4cad67e24c9babd9422ed0c450a49d38df2cb314.tar.gz
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.
Diffstat (limited to 'lib/PublicInbox/RepoTree.pm')
-rw-r--r--lib/PublicInbox/RepoTree.pm1
1 files changed, 0 insertions, 1 deletions
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') {