From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 574981F47C for ; Thu, 12 Jan 2023 14:19:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1673533172; bh=Oru7MQhdLOHnofGeIfD29DO6vz0Y51aV/vP2OfOqSPs=; h=Date:From:To:Subject:References:In-Reply-To:From; b=MQPLx4P9WNOolek6eDvjj5Soyax8uXQcorrLJQX4Pfg5GwW2zE5QlYUxPfVqmnzcb UGdm2F0Xh4GbHsyONVZZHgyifEiaIOs8tiqnz0rNvFJwMUrdniLIdNsmDIerpZpKUu /9WWuP5HfzOAQJqL8clyuuifQFkp/q3LNvaaTpXY= Date: Thu, 12 Jan 2023 14:19:19 +0000 From: Eric Wong To: meta@public-inbox.org Subject: Re: [PATCH 3/3] www_coderepo: /tree/ 404s search git history Message-ID: <20230112141919.M280844@dcvr> References: <20230112141435.1924376-1-e@80x24.org> <20230112141435.1924376-4-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230112141435.1924376-4-e@80x24.org> List-Id: Eric Wong wrote: > + print $zfh < +found last record of `$path' in the following commit: > +$h $s_as > +EOM I think an extra newline works better, here: diff --git a/lib/PublicInbox/RepoTree.pm b/lib/PublicInbox/RepoTree.pm index 5b502a45..cec71eb6 100644 --- a/lib/PublicInbox/RepoTree.pm +++ b/lib/PublicInbox/RepoTree.pm @@ -30,6 +30,7 @@ sub rd_404_log { $s_as = ascii_html($s_as); print $zfh <$h $s_as EOM }