Subject: Re: [PATCH] run-command: detect finished children by closed pipe rather than waitpid

From: Torsten Bögershausen <[email-masked]>
Date: Sat, 7 Nov 2015 07:28:30 +0100

On 07.11.15 00:48, Stefan Beller wrote:
> +enum child_state {
> +	FREE,
> +	WORKING,
> +	WAIT_CLEANUP,
> +};

This kind of  "generic names" feels are begging for 
name clash, some day, may be in the future.
How about something like this:
> +	GIT_CP_FREE,
> +	GIT_CP_WORKING,
> +	GIT_CP_WAIT_CLEANUP,