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.1 required=3.0 tests=ALL_TRUSTED,AWL,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 B85501FA2C for ; Tue, 10 Jan 2023 11:49:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1673351361; bh=j286UtfSb5+4mUgxwAE9aXwiqoumsogXnWouW3JNwTs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wv3PG6GxY2s87dcdnmgKzaTM+U3gGaeSCSjor/GOx6eLtzvCEHRUCYkKQpYv3feKh nBhzmH4Xqn28eleO/w3R8psmo3569pCra+iIXi+X/5T31YXtuqPIWtqSgVj9s6QUhz ew4Pnvbbe4Cvab3GBzCCc2SvoD+B8K7pfUJyQk1U= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 3/4] viewvcs: update comment about show_other_result Date: Tue, 10 Jan 2023 11:49:20 +0000 Message-Id: <20230110114921.2668377-4-e@80x24.org> In-Reply-To: <20230110114921.2668377-1-e@80x24.org> References: <20230110114921.2668377-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: In case git has other object types in the future... --- lib/PublicInbox/ViewVCS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm index d8f6742f..9a559687 100644 --- a/lib/PublicInbox/ViewVCS.pm +++ b/lib/PublicInbox/ViewVCS.pm @@ -104,7 +104,7 @@ sub stream_large_blob ($$) { $qsp->psgi_return($env, undef, \&stream_blob_parse_hdr, $ctx); } -sub show_other_result ($$) { # tag +sub show_other_result ($$) { # future-proofing my ($bref, $ctx) = @_; if (my $qsp_err = delete $ctx->{-qsp_err}) { return html_page($ctx, 500, dbg_log($ctx) .