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=-4.1 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 684AB1F5AE for ; Wed, 21 Jul 2021 09:47:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236236AbhGUIx4 (ORCPT ); Wed, 21 Jul 2021 04:53:56 -0400 Received: from smtp.hosts.co.uk ([85.233.160.19]:29433 "EHLO smtp.hosts.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236848AbhGUIrx (ORCPT ); Wed, 21 Jul 2021 04:47: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 1m68Vw-0006Nu-6D; Wed, 21 Jul 2021 10:27:41 +0100 Subject: Re: [PATCH v6 3/3] bundle doc: elaborate on rev<->ref restriction To: Junio C Hamano , =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= Cc: git@vger.kernel.org, Johannes Schindelin References: From: Philip Oakley Message-ID: <68ea4cc0-b9d3-a7fb-7c22-fa828f9dc52f@iee.email> Date: Wed, 21 Jul 2021 10:27:40 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-GB Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On 20/07/2021 21:19, Junio C Hamano wrote: > Ævar Arnfjörð Bjarmason writes: > >> +Revisions must accompanied by reference names to be packaged in a >> +bundle, since the header of the bundle is in a format similar to 'git >> +show-ref'. > This may be an improvement in the way how the description refers to > "show-ref", but we do not have to say anything about "show-ref" ;-) > > The reason we should give readers why they must give refs while > creating a bundle, I think, is because the only way to access the > contents of the bundle is to fetch refs from it, and the refs given > to the command when the bundle was created becomes the refs that can > be fetched from the bundle. > > Thanks. > Should the `list-heads` option be mentioned for investigating existing bundles? -- Philip