X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FRepoTree.pm;h=3a848c6ff9b468701ebe8d0c72309d5e67d479a8;hb=4cad67e24c9babd9422ed0c450a49d38df2cb314;hp=4c6ed840ee5e7e9a04859a4315cf52e0632b6a2e;hpb=ff57c4d03ca6fda821fb841507269da4ff4a99b7;p=public-inbox.git 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') {