Re: [PATCH v3] doc: describe Git bundle format
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 7, 2020, 20:59 UTC
- Message-ID
- <xmqqlfpe2jx3.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAJB1erXMR_aCqVPsH6WQZdC7yybOBCUbwkJDv3LtU2f0ymNmbQ@mail.gmail.com>
Masaya Suzuki <masayasuzuki@google.com> writes:
Show 6 quoted lines
> On Fri, Feb 7, 2020 at 12:42 PM Masaya Suzuki <masayasuzuki@google.com> wrote: >> +=== Note on the shallow clone and a Git bundle >> + >> +Note that the prerequisites does not represent a shallow-clone boundary. The > > the prerequisites do not
Grammo aside, I am not sure if that particular Note is beneficial to begin with. I would imagine that you can get a bundle that holds all the objects in a shallow repository by specifying the range that match the shallow-clone boundary when you run "git bundle create" while disabling thin-pack generation.
The support of shallow-clone by Git may be incomplete and it may not be easy to form such a range, and "git bundle create" command may not have a knob to disable thin-pack generation, but that does not mean that the bundle *format* cannot be used to represent the shallow boundary.