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 B36EC1F428 for ; Thu, 23 Mar 2023 08:33:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1679560439; bh=0ARxRNMIfXSVAGnCrbF2B5ltyCWkQqivUvFOIfhgvl8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=mwd9Y+Z+vXEfuYfn4ftURCzlxjCD+62nntlVD/Zg/z5u/NSdmQSeS4InahnULGera tlSRCO1sIGnqghHmGXrD9SVt2UKrkvwoa5P7HzUWzoXrgqIfANFW9AO37NZqmFCy6k SdOVP5vJLF7RiHT9rQC0R09dvL/BOQfJCthDbXjs= Date: Thu, 23 Mar 2023 08:33:59 +0000 From: Eric Wong To: meta@public-inbox.org Subject: Re: [PATCH] lei_mirror: use fetch.hideRefs to speed up connectivity check Message-ID: <20230323083359.M626992@dcvr> References: <20230215222023.3096908-1-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230215222023.3096908-1-e@80x24.org> List-Id: Eric Wong wrote: > `git fetch' runs an expensive connectivity check against all > refs, which is unnecessarily expensive for incremental fetches > on RAM-constrained systems. > > This depends on the proposal to support `fetch.hideRefs' for `git fetch': > https://public-inbox.org/git/20230212090426.M558990@dcvr/ > --- > I'll commit this if it lands in git.git It's in git.git master: https://80x24.org/lore/pub/scm/git/git.git/4d87411ffe2432efa8800b9e9d889241dd0f1f07/s/ So merged as commit e28c01f038ddafa1f78c1ba47b5593fe353b5978 in public-inbox.git