Thread (50 messages) flat view 50 messages, 6 authors, 2016-06-15

Re: [RFC 4/4 v3] Add cat-blob report fifo from fast-import to remote-helper.

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:54:18

(adding msysgit list to cc for a Windows question)
Hi,

(regarding bidirectional communication between git and fast-import for
remote helpers)
Florian Achleitner wrote:
People didn't like pipe variant (prexec_cb not being compatible to windows' 
process creation model), so I learned about fifos and implemented a (basic) fifo 
variant. *shrug*
Is this meant as a summary of [1]?  Hannes wrote:

| The second problem is more severe and is at the lowest level of our
| infrastructure: We set up our child processes so that they know only about
| file descriptors other than 0,1,2 to the child process. Even if the first
| problem were solved, the child process does not receive sufficient
| information to know that there are open file descriptors other than 0,1,2.
| There is a facility to pass along this information from the parent to the
| child, but we simply do not implement it.

It sounds to me like the pipe model would work fine on Windows, and it
would just require some porting work (out of scope for this summer of
code project).  Am I misunderstanding?

Thanks,
Jonathan

[1] http://thread.gmane.org/gmane.comp.version-control.git/199216
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help