Junio C Hamano <gitster@xxxxxxxxx> writes: > The key benefit of this arrangement is the above can be done without > having to do poll() to flip between reading and writing that is > needed to avoid deadlocking, which kept the code simpler. A later > conversion of the write side into async does not fundamentally > change anything from the original arrangement. Translation: I was too lazy to worry about doing poll()/select() when I did it originally. As long as you can do so correctly, be my guest to reduce one process by having the main process do both reading and writing. ;-) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html