git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Patrick SteinhardtNext: Patrick Steinhardt
Message 6 of 9 in “Doing blobless clone by default; switching between blobless, treeless and full clones by a command”
  1. Дилян ПалаузовSep 4, 2025
  2. Kristoffer HaugsbakkSep 4, 2025
  3. Derrick StoleeSep 4, 2025
  4. Junio C HamanoSep 4, 2025
  5. Patrick SteinhardtSep 5, 2025
  6. Derrick StoleeSep 5, 2025
  7. Patrick SteinhardtSep 5, 2025
  8. Konstantin RyabitsevSep 5, 2025
  9. Ben KnobleSep 7, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.