Re: Multiple fetches when unshallowing a shallow clone
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 6, 2015, 04:00 UTC
- Message-ID
- <xmqqmvtons4j.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CACsJy8BSNm6=E6Mo6etv_Lvdd2kpqQ7EEMBAoP-AQraYy3xU8w@mail.gmail.com>
Duy Nguyen <pclouds@gmail.com> writes:
Show 12 quoted lines
> On Fri, Dec 4, 2015 at 11:45 PM, Junio C Hamano <gitster@pobox.com> wrote: > ... >> just like a regular fetch that auto-follows tags, where it has to >> make a second fetch if the primary fetch fails to include everything >> that is needed for propagating the tag for whatever reason. >> >> Having said that, IIRC, these days a depth limited clone is created >> implicitly with --single-branch option, and I am not sure what the >> right behaviour for the auto-following of tags in such a repository. > > I suppose followtags feature has been around long enough that we can > simply trust that and skip the second fetch?
Hmmmm, I wonder why the code needs the backfill fetch while talking to a server that has the include-tag capability, then?