Re: [PATCH v2 2/3] git-remote-fd
- From
- Ilari 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