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

Re: git doing large refetches

From
HLHin-Tak Leung <htl10@users.sourceforge.net>
Date
Jun 26, 2020, 16:05 UTC
Message-ID
<1406746652.7528852.1593187534410@mail.yahoo.com>
In-Reply-To
<1406746652.7528852.1593187534410.ref@mail.yahoo.com>
On Thursday, 25 June 2020, 19:06:16 BST, Pratyush Yadav <me@yadavpratyush.com> wrote:
> Hi,
Show 21 quoted lines
> On 25/06/20 05:46PM, Hin-Tak Leung wrote:
> > Hi,
> > 
> > Lately I noticed that git occasionally do very large re-fetches, despite the difference between local and remote being not large. For example, here are two aborted fetches (see how small the emumerating / counting /compressing are, compared to the receiving object number):
> > 
> > $ git fetch torvalds
> > remote: Enumerating objects: 19374, done.
> > remote: Counting objects: 100% (19374/19374), done.
> > remote: Compressing objects: 100% (4016/4016), done.
> > ^Cceiving objects:  2% (161673/7478285), 80.54 MiB | 2.78 MiB/s
> > 
> > $ git fetch sound
> > remote: Enumerating objects: 52009, done.
> > remote: Counting objects: 100% (52009/52009), done.
> > remote: Compressing objects: 100% (5480/5480), done.
> > ^Cceiving objects:  1% (74819/7481898), 37.92 MiB | 1.98 MiB/s
> > 
> > I don't see any real pattern, as the last few times I fetch from either of those two are also quite small ( a few days ago).
> > 
> > $ git --version
> > git version 2.26.2
> See https://lore.kernel.org/git/20200422155047.GB91734@google.com/
> This problem shouldn't be present in v2.27.*
Thanks a lot! Glad to know it is already fixed!
Cheers,
Hin-Tak
Message 1 of 1 in “Re: git doing large refetches”
  1. Hin-Tak LeungJun 26, 2020

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.