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

Re: Git reports

From
Jeff King <peff@peff.net>
Date
Dec 6, 2013, 22:22 UTC
Message-ID
<20131206222201.GF25620@sigill.intra.peff.net>
In-Reply-To
<20131206192651.GK29959@google.com>
On Fri, Dec 06, 2013 at 11:26:51AM -0800, Jonathan Nieder wrote:
Show 6 quoted lines
> > I am cloning over http
> 
> I am guessing you are using the "dumb" (plain static file transfer)
> HTTP protocol.  With that protocol the server doesn't do anything
> other than shuttle out files, so it doesn't need to do its own
> progress reporting.
Yeah, that would also explain why GIT_TRACE_PACKET produced no output.
> Perhaps the client should do some progress reporting based on file
> sizes and amount downloaded so far, but it's hard to get excited
> about given the existence of "smart" (transfer only what is needed)
> HTTP protocol.  See git-http-backend(1) for details.

You get some very verbose and nasty progress with "-vv". It would be nice to have a regular throughput meter for dumb-http, though. I haven't bothered adding one so far because I don't expect many people are using http. However, if we start supporting fetching via bundles over http, then it will be very nice to have some kind of progress display there (since the main use is to get gigantic full clones).

-Peff
Previous: Junio C HamanoNext: Muzaffer Tolga Ozses
Message 11 of 12 in “Git reports”
  1. Muzaffer Tolga OzsesDec 6, 2013
  2. Konstantin KhomoutovDec 6, 2013
  3. Konstantin KhomoutovDec 6, 2013
  4. Muzaffer Tolga OzsesDec 6, 2013
  5. Jeff KingDec 6, 2013
  6. Konstantin KhomoutovDec 6, 2013
  7. Muzaffer Tolga OzsesDec 6, 2013
  8. Muzaffer Tolga OzsesDec 6, 2013
  9. Jonathan NiederDec 6, 2013
  10. Junio C HamanoDec 6, 2013
  11. Jeff KingDec 6, 2013
  12. Muzaffer Tolga OzsesDec 7, 2013

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.