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

Re: What's cooking in git.git (Aug 2021, #03; Fri, 6)

From
Jeff King <peff@peff.net>
Date
Aug 9, 2021, 18:42 UTC
Message-ID
<YRF2+7RqTAJ+/KZ3@coredump.intra.peff.net>
In-Reply-To
<CABPp-BHen70xN8fHZr_s61ix17qLq2iw3SFjP-GJmmEuMMF6rw@mail.gmail.com>
On Mon, Aug 09, 2021 at 11:39:57AM -0700, Elijah Newren wrote:
Show 29 quoted lines
> On Mon, Aug 9, 2021 at 10:17 AM Junio C Hamano <gitster@pobox.com> wrote:
> >
> > Elijah Newren <newren@gmail.com> writes:
> >
> > > On Fri, Aug 6, 2021 at 6:26 PM Junio C Hamano <gitster@pobox.com> wrote:
> > >
> > >> * jt/push-negotiation-fixes (2021-07-15) 3 commits
> > >>  - fetch: die on invalid --negotiation-tip hash
> > >>  - send-pack: fix push nego. when remote has refs
> > >>  - send-pack: fix push.negotiate with remote helper
> > >>
> > >>  Bugfix for common ancestor negotiation recently introduced in "git
> > >>  push" codepath.
> > >>
> > >>  Needs review.
> > >
> > > I decided to take a look.
> [...]
> >
> > I am mostly worried about the lack of response to comments on [2/3],
> > especially to Peff's "Wouldn't this also be a problem for
> > multi-round fetch?".
> 
> Oh, I read Peff's comments[1] to mean that he thought Jonathan's
> patches behaved no worse than the existing code in the face of
> simultaneously running gc's, and thus that Ævar's concerns shouldn't
> hold up Jonathan's patches.  But, it's totally possible I
> misunderstood his intent -- as I mentioned, I'm not at all familiar
> with this area of the code.  Maybe Peff or Jonathan can clarify.

Yep, that's what I meant. I think Jonathan's adjacent response to Ævar agrees with that, too.

(I haven't actually thought hard about _other_ possible issues with push negotiation at this point, though).

-Peff
Previous: Elijah NewrenNext: Jonathan Tan
Message 7 of 8 in “What's cooking in git.git (Aug 2021, #03; Fri, 6)”
  1. Junio C HamanoAug 7, 2021
  2. Elijah NewrenAug 7, 2021
  3. Junio C HamanoAug 9, 2021
  4. Elijah NewrenAug 7, 2021
  5. Junio C HamanoAug 9, 2021
  6. Elijah NewrenAug 9, 2021
  7. Jeff KingAug 9, 2021
  8. Jonathan TanAug 10, 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.