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

Re: [PATCH] fetch: show progress for packfile uri downloads

From
Jeff King <peff@peff.net>
Date
Mar 17, 2021, 19:21 UTC
Message-ID
<YFJWz5yIGng+a16k@coredump.intra.peff.net>
In-Reply-To
<pull.907.git.1616007794513.gitgitgadget@gmail.com>
On Wed, Mar 17, 2021 at 07:03:13PM +0000, Albert Cui via GitGitGadget wrote:
Show 7 quoted lines
> From: Albert Cui <albertqcui@gmail.com>
> 
> Git appears to hang when downloading packfiles as this part of the
> fetch is silent, causing user confusion. This change implements
> progress for the number of packfiles downloaded; a progress display
> for bytes would involve deeper changes at the http-fetch layer
> instead of fetch-pack, the caller.

I think this is an improvement, but I agree that a real byte display would be much better. I actually worked on this a long time ago for a very similar feature that we never quite pushed over the finish line. See patches 11 and 12 here:

  https://lore.kernel.org/git/20111110074330.GA27925@sigill.intra.peff.net/

(it might need some of the earlier refactoring, too, I'm not sure; and quite likely will need forward-porting as it has been 10 years).

-Peff
Previous: Albert Cui via GitGitGadgetNext: Junio C Hamano
Message 2 of 7 in “fetch: show progress for packfile uri downloads”
  1. fetch: show progress for packfile uri downloadsAlbert Cui via GitGitGadget, Mar 17, 2021
  2. Jeff KingMar 17, 2021
  3. Junio C HamanoMar 17, 2021
  4. fetch: show progress for packfile uri downloadsAlbert Cui via GitGitGadget, Apr 9, 2021
  5. Junio C HamanoApr 11, 2021
  6. Jonathan NiederJun 30, 2021
  7. Ævar Arnfjörð BjarmasonApr 10, 2021

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.