Re: [PATCH 2/2] sha1-file: use OBJECT_INFO_NO_FETCH_IF_MISSING
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Jun 20, 2019, 12:39 UTC
- Message-ID
- <d88ac28b-638b-89c0-2bfb-634a0bb6ca4c@gmail.com>
- In-Reply-To
- <20190620085009.GC3952@sigill.intra.peff.net>
On 6/20/2019 4:50 AM, Jeff King wrote:
Show 13 quoted lines
> On Thu, Jun 20, 2019 at 10:30:26AM +0200, Christian Couder wrote: > >> Currently the OBJECT_INFO_FOR_PREFETCH flag is used to check >> if we should fetch objects from promisor remotes when we >> haven't found them elsewhere. >> >> Now that OBJECT_INFO_NO_FETCH_IF_MISSING exists, let's use >> it instead to be more correct in case this new flag is ever >> used without OBJECT_INFO_QUICK. > > I said earlier that this one would need to be tweaked for the new > upstream name. But actually, I think it is not necessary after Stolee's > patch.
Yes, I believe that 31f5256c82 does an equivalent thing to the combination of these patches.
Thanks, -Stolee