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,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE 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 979231F452 for ; Wed, 15 Nov 2023 04:32:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1700022759; bh=MBvTM2BkpT7s5h7PGQdqiGi3oShtfG48b9sCJSFg+LE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=3URDGFgAvoJue5c1OyGWP8TNRkqPN/WYDlW9X+g49X213wyMZgAW9AXPpwycttjMQ UHiYLrbEevmDHNQVgHNEVFltX/B3KwAPS3CskyNG18bA5rkwwUXUXBWZ34fEwisNmC v7tIt9/LwiecEs2mM1FJoAAKOejyQsdzjaZTD6JY= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/3] gcf2client: add alias for PublicInbox::Git::fail Date: Wed, 15 Nov 2023 04:32:37 +0000 Message-Id: <20231115043239.1069219-2-e@80x24.org> In-Reply-To: <20231115043239.1069219-1-e@80x24.org> References: <20231115043239.1069219-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Ensure we can ->fail properly from other subs we can within Gcf2Client. This doesn't fix the test failures on CentOS 7.x, but tries to make it easier to fix underlying problems and report OOM errors and other things which the test suite doesn't touch on. --- lib/PublicInbox/Gcf2Client.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/PublicInbox/Gcf2Client.pm b/lib/PublicInbox/Gcf2Client.pm index 5220c474..48d8c5ac 100644 --- a/lib/PublicInbox/Gcf2Client.pm +++ b/lib/PublicInbox/Gcf2Client.pm @@ -52,6 +52,7 @@ no warnings 'once'; *cat_async_step = \&PublicInbox::Git::cat_async_step; # for event_step *event_step = \&PublicInbox::Git::event_step; +*fail = \&PublicInbox::Git::fail; *DESTROY = \&PublicInbox::Git::DESTROY; 1;