Re: Doing blobless clone by default; switching between blobless, treeless and full clones by a command
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Sep 5, 2025, 13:40 UTC
- Message-ID
- <a1f72b71-2068-4526-920b-bab82137a509@gmail.com>
- In-Reply-To
- <aLrWUhtCqp1hMcQS@pks.im>
On 9/5/2025 8:23 AM, Patrick Steinhardt wrote:
> On Thu, Sep 04, 2025 at 08:19:59AM -0400, Derrick Stolee wrote:
> So in general, the recommendation I typically give is to not use > treeless clones at all.
Rather, I'd say that treeless clones are useful if you want the speed of a shallow clone with some need to analyze commit history (with no path history) for an ephemeral scenario like a CI build.
Treeless clones are not a good approach for doing ongoing work as a human. They are a tool for a very narrow case, so don't use them unless you understand how to avoid their pitfalls.
Thanks, -Stolee