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

Re: [RFC PATCH] fetch-pack: space out sent "haves" in negotiation

From
JTJonathan Tan <jonathantanmy@google.com>
Date
May 29, 2018, 16:58 UTC
Message-ID
<20180529095837.fe06e9ac5dd1176060fff2ad@google.com>
In-Reply-To
<xmqqwovvujfx.fsf@gitster-ct.c.googlers.com>

On Wed, 23 May 2018 12:42:10 +0900 Junio C Hamano <gitster@pobox.com> wrote:

> Somehow this feels more like a WIP than RFC, primarily for two
> reasons.  It was unclear what "edge" computation is trying to do; it
> seems way under-explained, especially the part that takes min-max
> while. merging two candidates.

Agreed that WIP would be a good designation. I'll make sure that the merging is better explained in the next version.

Show 7 quoted lines
> It also was unclear if this should be organized as a "take it or
> leave it" patch like this one, or eventually should be split into
> multiple steps when it gets polished enough to be considered for
> application, the early ones introducing a separate negotiator module
> without changing the common ancestor discovery algorithm at all,
> with later steps refining that negotiator and add more efficient
> common ancestor discovery process.

As for the question of one or (at least) two patches, right now I'm working on a way to simplify what I have (probably to just implementing the "skip exponentially" part you describe in [1]). I think that it will be simple enough to put in one patch, but we can decide once I've completed that patch.

Previous: Junio C Hamano
Message 7 of 7 in “fetch-pack: space out sent "haves" in negotiation”
  1. fetch-pack: space out sent "haves" in negotiationJonathan Tan, May 21, 2018
  2. Stefan BellerMay 21, 2018
  3. Jonathan TanMay 22, 2018
  4. Stefan BellerMay 22, 2018
  5. Junio C HamanoMay 23, 2018
  6. Junio C HamanoMay 23, 2018
  7. Jonathan TanMay 29, 2018

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.