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

Re: [RFC PATCH] push: perform negotiation before sending packfile

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 22, 2021, 21:32 UTC
Message-ID
<xmqq8s7f7pqb.fsf@gitster.g>
In-Reply-To
<20210222200146.1393467-1-jonathantanmy@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
> I guess the idea is to have a push that does not start with a ref
> advertisement, therefore making everything more modular?

Yes, making things modular and reusable would be valuable---if the fetch side were already structured like I dreamed in the message you are responding to with a separate 'negotiate' service, the RFC patch would have looked much nicer.

I am also interested in seeing was not to require a new connection for an extra roundtrip.

Thanks.
Previous: Jonathan TanNext: Jonathan Tan
Message 8 of 9 in “push: perform negotiation before sending packfile”
  1. push: perform negotiation before sending packfileJonathan Tan, Feb 18, 2021
  2. Junio C HamanoFeb 18, 2021
  3. Junio C HamanoFeb 18, 2021
  4. Junio C HamanoFeb 18, 2021
  5. Jonathan TanFeb 19, 2021
  6. Junio C HamanoFeb 20, 2021
  7. Jonathan TanFeb 22, 2021
  8. Junio C HamanoFeb 22, 2021
  9. Jonathan TanFeb 18, 2021

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.