From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-5.5 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 54D6C1F953 for ; Sat, 30 Oct 2021 14:51:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230285AbhJ3Oxx (ORCPT ); Sat, 30 Oct 2021 10:53:53 -0400 Received: from smtp.hosts.co.uk ([85.233.160.19]:53059 "EHLO smtp.hosts.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbhJ3Oxx (ORCPT ); Sat, 30 Oct 2021 10:53:53 -0400 Received: from host-84-13-154-214.opaltelecom.net ([84.13.154.214] helo=[192.168.1.37]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1mgphZ-000C0I-4V; Sat, 30 Oct 2021 15:51:21 +0100 Message-ID: Date: Sat, 30 Oct 2021 15:51:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH 2/3] protocol v2: specify static seeding of clone/fetch via "bundle-uri" Content-Language: en-GB To: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= , Derrick Stolee Cc: git@vger.kernel.org, Junio C Hamano , Jeff King , Patrick Steinhardt , Christian Couder , Albert Cui , Jonathan Tan , Jonathan Nieder , "brian m . carlson" , "Robin H . Johnson" References: <7fab28bf-54e7-d0e9-110a-53fad6244cc9@gmail.com> <211027.86r1c6yh52.gmgdl@evledraar.gmail.com> <756524c1-a3b9-29b5-bb72-f75a0c76ea1f@gmail.com> <211027.86ilxixoxz.gmgdl@evledraar.gmail.com> From: Philip Oakley In-Reply-To: <211027.86ilxixoxz.gmgdl@evledraar.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org An aside: On 27/10/2021 19:01, Ævar Arnfjörð Bjarmason wrote: > I don't think you can say "this bundle has no blobs". The > "prerequisites" hard map to the same thing you could put on a > "want/have" line during PACK negotiation. > > I think we could/should fix that, i.e. we can > bump the bundle format > version and have it encode some extended prerequisites/filter/shallow > etc information. If the format is bumped, could we also include the HEAD= info within that format. The `guess the HEAD` algorithm isn't ideal and shows up in user questions every now and again. > You'd then have a 1=1 match between the features of > git-upload-pack and what you can transfer via the bundle side-channel. -- Philip