Re: [PATCH 2/2] sha1-file: use OBJECT_INFO_NO_FETCH_IF_MISSING
- From
Jeff King <peff@peff.net>
- Date
- Jun 20, 2019, 08:50 UTC
- Message-ID
- <20190620085009.GC3952@sigill.intra.peff.net>
- In-Reply-To
- <20190620083026.14524-3-chriscool@tuxfamily.org>
On Thu, Jun 20, 2019 at 10:30:26AM +0200, Christian Couder wrote:
Show 7 quoted lines
> 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.
-Peff