]> git.ipfire.org Git - thirdparty/git.git/commit - send-pack.c
send-pack: kill pack-objects helper on signal or exit
authorJeff King <peff@peff.net>
Sat, 21 Nov 2020 00:29:21 +0000 (19:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 Nov 2020 21:55:17 +0000 (13:55 -0800)
commit8b59935114d9dafd737a7674ccf3787e7ffc61c9
tree7afad32f7dc50052e4fe45d01a8b7f1d94b55730
parent898f80736c75878acc02dc55672317fcc0e0a5a6
send-pack: kill pack-objects helper on signal or exit

We spawn an external pack-objects process to actually send
objects to the remote side. If we are killed by a signal
during this process, the pack-objects will keep running and
complete the push, which may surprise the user. We should
take it down when we go down.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
send-pack.c