Re: [PATCH] fetch-pack: in partial clone, pass --promisor
- From
- Jonathan Tan <jonathantanmy@google.com>
- Date
- Aug 21, 2020, 21:08 UTC
- Message-ID
- <20200821210827.1203531-1-jonathantanmy@google.com>
- In-Reply-To
- <xmqqimddaxhz.fsf@gitster.c.googlers.com>
Show 10 quoted lines
> Jonathan Tan <jonathantanmy@google.com> writes:
>
> > When fetching a pack from a promisor remote, the corresponding .promisor
> > file needs to be created. "fetch-pack" originally did this by passing
> > "--promisor" to "index-pack", but in 5374a290aa ("fetch-pack: write
> > fetched refs to .promisor", 2019-10-16), "fetch-pack" was taught to do
> > this itself instead, because it needed to store ref information in the
> > .promisor file.
>
> So is this patch a fix for a regression in v2.25?Yes. (Just checked with "git merge-base" that 5374a290aa is in v2.25.0 but not v2.24.0.)