From: Junio C Hamano Date: Thu, 08 Dec 2005 02:25:12 GMT Subject: Re: [PATCH] Clean up file descriptors when calling hooks. Message-ID: <7vvey0mik7.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Daniel Barkalow writes: > When calling post-update hook, don't leave stdin and stdout connected to > the pushing connection. A quick question. I understand "not connected to the pushing connection" is desirable, but is there a reason you chose to leave them open to /dev/null, not close()d?