]> Sergey Matveev's repositories - public-inbox.git/commitdiff
viewvcs: update comment about show_other_result
authorEric Wong <e@80x24.org>
Tue, 10 Jan 2023 11:49:20 +0000 (11:49 +0000)
committerEric Wong <e@80x24.org>
Wed, 11 Jan 2023 04:41:17 +0000 (04:41 +0000)
In case git has other object types in the future...

lib/PublicInbox/ViewVCS.pm

index d8f6742f01b7f284897a6ae6efcd3d773465ddd1..9a5596870bfc445ab600f2db5be7ec3aecd8dca1 100644 (file)
@@ -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) .