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

Re: Bug in 2.26: git-fetch fetching too many objects?

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 21, 2020, 20:06 UTC
Message-ID
<xmqqtv1cmwmt.fsf@gitster.c.googlers.com>
In-Reply-To
<20200421193611.GA103469@google.com>
Jonathan Nieder <jrnieder@gmail.com> writes:
> In other words, if I understand correctly, it's describing an issue
> that also exists in protocol v0 for https.  I would be *very*
> interested in any evidence one way or another about whether I am
> understanding correctly.

I am assuming that the issue experienced by these people after flipping the default to v2 was *not* experienced by the same folks back when they were not on v2. If not, I cannot explain why their report say "it suddenly started doing this".

> ..., since we've been using protocol v2 as the
> default at $DAYJOB for quite a long time now.

Is it possible that folks getting hurt after 2.26 got released have quite different use case / fetch pattern from what you see at $DAYJOB, which are covered well in the current code? Keep using v2 at $DAYJOB may not help us diagnose the issue more than flipping the default back (and at $DAYJOB the default is under your control ;-).

Previous: Jonathan NiederNext: Jeff King
Message 7 of 8 in “Bug in 2.26: git-fetch fetching too many objects?”
  1. Dixit, AshutoshApr 20, 2020
  2. Konstantin RyabitsevApr 20, 2020
  3. Dixit, AshutoshApr 21, 2020
  4. Jonathan NiederApr 21, 2020
  5. Junio C HamanoApr 21, 2020
  6. Jonathan NiederApr 21, 2020
  7. Junio C HamanoApr 21, 2020
  8. Jeff KingApr 21, 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.