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

Re: [PATCH/RFC] remote-helpers: set up a pipe to read fast-import response

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 11, 2012, 16:10 UTC
Message-ID
<7v1ununtb2.fsf@alter.siamese.dyndns.org>
In-Reply-To
<20120411143249.GA4140@burratino>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 11 quoted lines
> Something like this patch was sitting in my tree gathering moss but I
> quite like it so I thought I should send it out for feedback.
>
> I can't seem to find any copy of this patch in the list archives.
> Maybe I received it by private email.  Dmitry, do you remember better?
>
> Can also be found at
>
>   git://repo.or.cz/git/jrn.git topics/di/remote-helper-blob-access
>
> and will be part of the svn-fe-pu branch there in the next push.

Does this essentially connect the frontend and fast-import via bidirectional pipes? How is the flow control and deadlock avoidance supposed to happen (I guess the side that wants to give a command to ask for information needs to wait until it reads everything from the other side to drain the pipe before doing so), and isn't it something that need to be documented?

Previous: Jonathan NiederNext: Jonathan Nieder
Message 2 of 7 in “remote-helpers: set up a pipe to read fast-import response”
  1. remote-helpers: set up a pipe to read fast-import responseJonathan Nieder, Apr 11, 2012
  2. Junio C HamanoApr 11, 2012
  3. fast-import doc: deadlock avoidance in bidirectional modeJonathan Nieder, Apr 11, 2012
  4. Junio C HamanoApr 11, 2012
  5. fast-import doc: cat-blob and ls responses need to be consumed quicklyJonathan Nieder, Apr 11, 2012
  6. Junio C HamanoApr 11, 2012
  7. Jonathan NiederApr 11, 2012

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.