]> git.ipfire.org Git - thirdparty/git.git/commit - send-pack.c
send-pack: report signal death of pack-objects
authorJeff King <peff@peff.net>
Tue, 7 Mar 2017 13:39:48 +0000 (08:39 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Mar 2017 22:58:36 +0000 (14:58 -0800)
commitd1a13d3fcb252631361a961cb5e2bf10ed467cba
tree9ab9212d5d9faafacebfa8a48621e49bb306394a
parentba69f92db6033d6187414c57547e8f79d6aa7f1b
send-pack: report signal death of pack-objects

If our pack-objects sub-process dies of a signal, then it
likely didn't have a chance to write anything useful to
stderr. The user may be left scratching their head why the
push failed. Let's detect this situation and write something
to stderr.

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