author | Clemens Buchacher <drizzd@aon.at> | |
Sun, 8 Jan 2012 20:41:09 +0000 (21:41 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 8 Jan 2012 23:07:20 +0000 (15:07 -0800) | ||
commit | 10c6cddd928b24ac6030a172c6c7b46efb32aedc | |
tree | 40646622d4b49b72f99de44b4f6519ff65972203 | tree | snapshot |
parent | afe19ff7b55129d988e421ae1e0df4ec9659787a | commit | diff |
dashed externals: kill children on exit
Several git commands are so-called dashed externals, that is commands
executed as a child process of the git wrapper command. If the git
wrapper is killed by a signal, the child process will continue to run.
This is different from internal commands, which always die with the git
wrapper command.
Enable the recently introduced cleanup mechanism for child processes in
order to make dashed externals act more in line with internal commands.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Several git commands are so-called dashed externals, that is commands
executed as a child process of the git wrapper command. If the git
wrapper is killed by a signal, the child process will continue to run.
This is different from internal commands, which always die with the git
wrapper command.
Enable the recently introduced cleanup mechanism for child processes in
order to make dashed externals act more in line with internal commands.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git.c | diff | blob | history | |
run-command.c | diff | blob | history | |
run-command.h | diff | blob | history |