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

Re: git-clone --how-much-disk-space-will-this-cost-me? [--depth n]

From
Nicolas Pitre <nico@cam.org>
Date
Dec 17, 2008, 16:56 UTC
Message-ID
<alpine.LFD.2.00.0812171152490.30035@xanadu.home>
In-Reply-To
<20081217164841.GH32487@spearce.org>
On Wed, 17 Dec 2008, Shawn O. Pearce wrote:
Show 11 quoted lines
> Nicolas Pitre <nico@cam.org> wrote:
> > > Its also not easy to
> > > implement, which is why we've only been talking about it for years
> > > and never actually seen a patch proposing to do it.
> > 
> > A partial clone could possibly be turned into a shalow clone if at least 
> > the top commit is complete ...
> 
> But you of all people should know well that the top commit is also
> a huge part of most clones.  Getting that top commit can be 30-60%
> of the repository itself.  :-|
Sure I know.  This is why I'm not pushing this solution really much.  ;)

I have ideas about how to solve this in a really nice way, but that implies pack V4.

Nicolas
Previous: Shawn O. PearceNext: Jeff King
Message 11 of 12 in “git-clone --how-much-disk-space-will-this-cost-me? [--depth n]”
  1. jidanni@jidanni.orgDec 15, 2008
  2. Jean-Luc HerrenDec 16, 2008
  3. jidanni@jidanni.orgDec 16, 2008
  4. Jean-Luc HerrenDec 16, 2008
  5. Nicolas PitreDec 16, 2008
  6. Shawn O. PearceDec 17, 2008
  7. Nicolas PitreDec 17, 2008
  8. Shawn O. PearceDec 17, 2008
  9. Nicolas PitreDec 17, 2008
  10. Shawn O. PearceDec 17, 2008
  11. Nicolas PitreDec 17, 2008
  12. Jeff KingDec 16, 2008

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.