Re: [PATCH 1/2] dup() the input fd for fast-import used for remote helpers

2019-05-15 Thread Jeff King
On Thu, May 16, 2019 at 09:37:35AM +0900, Mike Hommey wrote: > When a remote helper exposes the "import" capability, stdout of the > helper is sent to stdin of a new fast-import process. This is done by > setting the corresponding child_process's in field to the value of the > out field of the hel

[PATCH 1/2] dup() the input fd for fast-import used for remote helpers

2019-05-15 Thread Mike Hommey
When a remote helper exposes the "import" capability, stdout of the helper is sent to stdin of a new fast-import process. This is done by setting the corresponding child_process's in field to the value of the out field of the helper child_process. The child_process API is defined to close the file