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

Would it make sense to add `--depth=0` feature?

From
ankostis <ankostis@gmail.com>
Date
Aug 11, 2017, 23:23 UTC
Message-ID
<CA+dhYEXDsgnmKTf9OW+_QTPkcVkfm99ffWOYdum7uUTnvaaCeA@mail.gmail.com>

Would it be feasible/sensical to support clone/fetch with --depth=0? The point is to download the tags/commit objects but not the actual trees and blobs, creating a "ledger" acting as a promise for the remote'e repo content?

Is there some estimation of the effort required to do such thing?
Best,
  Kostis
Next: Philip Oakley
Message 1 of 2 in “Would it make sense to add `--depth=0` feature?”
  1. ankostisAug 11, 2017
  2. Philip OakleyAug 12, 2017

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.