From: Paul Serice Date: Mon, 19 Dec 2005 17:29:42 GMT Subject: Re: [PATCH] Fix race and deadlock when sending pack Message-ID: <43A6EE06.8040108@serice.net> In-Reply-To: > If, for some reason, a hook looked at stdin, it could get surprising > results. In the first patch, the hook would hang waiting for input. That was a bug. In the second patch, the hook's standard input has been closed by git-send-pack (which is the standard thing for the parent to do in a pipeline), thus if a hook looks at stdin it will get EOF (the same as if connected to /dev/null). Paul