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

Re: Git fetches whole repository and not just latest

From
Andy Shevchenko <andy.shevchenko@gmail.com>
Date
May 29, 2020, 19:08 UTC
Message-ID
<CAHp75VdTX=pJw6r=H=qfaDcv07n69uGQQ0TwrR0bACAx-OQAXQ@mail.gmail.com>
In-Reply-To
<20200529172955.GA123244@google.com>
On Fri, May 29, 2020 at 8:29 PM Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 13 quoted lines
> 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.
> [...]
> > 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?
git version 2.26.2
>  Can you test 2.27.0-rc2?
Is there any deb package?
Show 11 quoted lines
> 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,

I'll try to allocate slot to test later, if there is deb available, I can do it sooner.

Thanks!
-- 
With Best Regards,
Andy Shevchenko
Previous: Jonathan NiederNext: Jonathan Nieder
Message 3 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.