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

Re: [PATCH v2 2/3] git-remote-fd

From
ILIlari Liusvaara <ilari.liusvaara@elisanet.fi>
Date
Sep 30, 2010, 13:44 UTC
Message-ID
<20100930134404.GA22521@LK-Perkele-V2.elisa-laajakaista.fi>
In-Reply-To
<20100930131440.GE4850@burratino>
On Thu, Sep 30, 2010 at 08:14:40AM -0500, Jonathan Nieder wrote:
Show 10 quoted lines
> Hi Ilari,
> 
> Ilari Liusvaara wrote:
> 
> > This remote helper reflects raw smart remote transport stream back to the
> > calling program. This is useful for example if some UI wants to handle
> > ssh itself and not use hacks via GIT_SSH.
> 
> Do you ever use this directly, or is it a "because we can" sort of thing?
> Whenever I try to come up with an example, ext:: seems to be easier.

I don't have any UIs that would want to override SSH, git:// or something like that, so no. ext:: sees lots of internal use.

Show 5 quoted lines
> > +<anything> can be any string. It is ignored. It is meant for provoding
> > +information to user in form of "URL".
> 
> Is this meant for future expansion?  Why not just use a comment in
> .git/config?
These URLs are not meant to go into .git/config.
 
Show 8 quoted lines
> > +EXAMPLES:
> > +---------
> > +"fd::17"::
> > +	Connect using socket in file descriptor #17.
> 
> Maybe with more context?
> 
> 	socat ... "git push fd::3 HEAD" ...
More like something execing git, having open connection to some git repo.

If you want stuff like that (using socat to establish connections), use ext::

-Ilari
Previous: Jonathan NiederNext: Ilari Liusvaara
Message 9 of 13 in “git-remote-fd & git-remote-ext”
  1. 0/3 git-remote-fd & git-remote-extIlari Liusvaara, Sep 30, 2010
  2. 1/3 Add bidirectional_transfer_loop()Ilari Liusvaara, Sep 30, 2010
  3. Jonathan NiederSep 30, 2010
  4. Ilari LiusvaaraSep 30, 2010
  5. Jonathan NiederSep 30, 2010
  6. 2/3 git-remote-fdIlari Liusvaara, Sep 30, 2010
  7. Ævar Arnfjörð BjarmasonSep 30, 2010
  8. Jonathan NiederSep 30, 2010
  9. Ilari LiusvaaraSep 30, 2010
  10. 3/3 git-remote-extIlari Liusvaara, Sep 30, 2010
  11. Jonathan NiederSep 30, 2010
  12. Junio C HamanoSep 30, 2010
  13. Jonathan NiederOct 1, 2010

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.