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

Re: Git fetches whole repository and not just latest

From
Jonathan Nieder <jrnieder@gmail.com>
Date
May 29, 2020, 17:29 UTC
Message-ID
<20200529172955.GA123244@google.com>
In-Reply-To
<CAHp75Ves8x9_1=fVo_+dB92GpAGLcbGVqeo2gjRbBnzTzM0uzg@mail.gmail.com>
Hi Andy,
Andy Shevchenko wrote:
> So, I have a local repository which has many remotes added (~20 or
> so). Most of them are from the same Git server, but few are from
> different servers.
[...]
Show 5 quoted lines
> origin, for example, almost everyday now gets in full (1.21 GiB!),
> while others have no pattern.
>
> I would like to know if it's problem of proxy, or that specific Git
> server or is it (new) bug in Git?
What Git version are you using?  Can you test 2.27.0-rc2?
I believe this is fixed by
	commit 2f0a093dd640e0dad0b261dae2427f2541b5426c
	Author: Jonathan Tan <jonathantanmy@google.com>
	Date:   Mon Apr 27 17:01:10 2020 -0700
	    fetch-pack: in protocol v2, reset in_vain upon ACK
which is part of 2.27.0-rc0.

Thanks and hope that helps, Jonathan

Previous: Andy ShevchenkoNext: Andy Shevchenko
Message 2 of 5 in “Git fetches whole repository and not just latest”
  1. Andy ShevchenkoMay 29, 2020
  2. Jonathan NiederMay 29, 2020
  3. Andy ShevchenkoMay 29, 2020
  4. Jonathan NiederMay 29, 2020
  5. Andy ShevchenkoMay 30, 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.