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 C7E1B1F47C for ; Thu, 26 Jan 2023 09:32:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1674725578; bh=0g1sfG/34KQtHWhrsYfDkB7o3U8KAT6txMOK4iOOfhI=; h=From:To:Subject:Date:From; b=w3bYwI6apF0e4n2mrgx/WBg4mRqSYAnA54LqBoRQ91YXeTOXdpVQyxJYBbxrdailA NALWrFkW43qTMFXRA4odotRFdjL34jwOou+LMeIJU86QsJFqllE8HK8711u8jkrEcq G7OPgxkRHl9lMPqIUE3GIMw0JRkuZpV3n2Bzn7ww= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] use `git cat-file --batch-command' if available Date: Thu, 26 Jan 2023 09:32:55 +0000 Message-Id: <20230126093257.1058494-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This should reduce git processes needed to service solver blob lookup/reconstruction requests. Eric Wong (2): git: use --batch-command in git 2.36+ to save processes git: drop needless checks for old git lib/PublicInbox/Git.pm | 153 +++++++++++++++++++++------------ lib/PublicInbox/GitAsyncCat.pm | 1 + 2 files changed, 98 insertions(+), 56 deletions(-)