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
JHJean-Luc Herren <jlh@gmx.ch>
Date
Dec 16, 2008, 00:22 UTC
Message-ID
<4946F4D9.8050803@gmx.ch>
In-Reply-To
<878wqhxaex.fsf@jidanni.org>
Hi!
jidanni@jidanni.org wrote:
Show 5 quoted lines
> The git-clone manpage should mention how to determine how much disk
> space will be used.
> [...]
> And don't tell us to just figure it out from the progress messages
> after the download begins, and hit ^C if we don't like it.

Maybe that's a dumb answer, but... why not? This works pretty well for me.

> Nope, nowhere does it directly say "You Holmes, are in for 27
> Megabytes (on your piddly modem)". There obviously is math involved to
> figure it out... math!

So maybe what you really want is an ETA display during the cloning process? Sounds like a good idea to me.

jlh
Previous: jidanni@jidanni.orgNext: jidanni@jidanni.org
Message 2 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.