Clean up file descriptors when calling hooks.
commit128aed684d0b3099092b7597c8644599b45b7503
authorDaniel Barkalow <barkalow@iabervon.org>
Thu, 8 Dec 2005 02:04:38 +0000 (7 21:04 -0500)
committerJunio C Hamano <junkio@cox.net>
Thu, 8 Dec 2005 05:05:39 +0000 (7 21:05 -0800)
tree52e84bd6a1c9bf70ea8dc44f7759d93cd43f1283
parent64224caf888253601b7285ab242f4a12779894b9
Clean up file descriptors when calling hooks.

When calling post-update hook, don't leave stdin and stdout connected to
the pushing connection.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
receive-pack.c
run-command.c
run-command.h