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

Re: Know how much to download before clonig

From
Shawn Pearce <spearce@spearce.org>
Date
Nov 24, 2012, 18:10 UTC
Message-ID
<CAJo=hJvnDkbEW4u_c3xC9YUQwg=YCxLA2H+GGXTKm2fC61ooUg@mail.gmail.com>
In-Reply-To
<k8qd1l$l7o$1@ger.gmane.org>
On Sat, Nov 24, 2012 at 4:02 AM, arif <aftnix@gmail.com> wrote:
> Is there any way so that i can tell how much i have to download to
> obtain a full clone (not a shallow one) of a respository?
Ask the repository owner to tell you?

There is no information sent by the server about size of repository, so no, you can't really know without having the repository owner tell you through some other side channel.

Previous: arif
Message 2 of 2 in “Know how much to download before clonig”
  1. arifNov 24, 2012
  2. Shawn PearceNov 24, 2012

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.