Re: [PATCH] index-pack: remove fetch_if_missing=0
- From
Sean Allred <allred.sean@gmail.com>
- Date
- Mar 11, 2023, 20:01 UTC
- Message-ID
- <m0mt4j5a2n.fsf@epic96565.epic.com>
- In-Reply-To
- <20230225052439.27096-1-five231003@gmail.com>
Kousik Sanagavarapu <five231003@gmail.com> writes:
> Hence, use has_object() to check for the existence of an object, which > has the default behavior of not lazy-fetching in a partial clone.
Any chance this fixes behavior[1] I was seeing where pushing from a depth=1, treeless clone was fetching content?
[1]: https://lore.kernel.org/git/m0lekp4rjv.fsf@epic96565.epic.com/T/#m83ba30c1bf91106fca61efff6619c491543034e4
-- Sean Allred