On Samstag, 14. August 2010, Ilari Liusvaara wrote:
The code doesn't really need POLLNVAL (Its just there for "can't happen"
case). POLLOUT is needed. I looked at poll emulation code: It returning
EINVAL causes transfer loop to fail quick.
I think its possible to write the loop in terms of select instead of poll.
Would this be better for Git on Windows?
No. select does not work with pipes on Windows.
-- Hannes