On Monday 30 July 2012 11:55:02 Jonathan Nieder wrote:
Florian Achleitner wrote:
quoted
Hm .. that would mean, that both fast-import and git (transport-helper)
would write to the remote-helper's stdin, right?
Yes, first git writes the list of refs to import, and then fast-import
writes feedback during the import. Is that a problem?
I haven't tried that yet, nor do I remember anything where I've already seen
two processes writing to the same pipe.
At least it sounds cumbersome to me. Processes' lifetimes overlap, so buffering
and flushing could mix data.
We have to use it for both purposes interchangably because there can be more
than one import command to the remote-helper, of course.
Will try that in test-program..