transport-helper: check status code of finish_command
commitcc567322acbfd5b32e61ab5d005352347cd7eeaf
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 16 Jul 2011 13:03:35 +0000 (16 15:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2011 18:17:47 +0000 (19 11:17 -0700)
treee3c5401196f790ee340e57c04fa0a4a1b65e66f6
parentd2e73c6f2ac3e2d32cd27afd80bfa7c1661a52d4
transport-helper: check status code of finish_command

Previously the status code of all helpers were ignored, allowing
errors that occur to go unnoticed if the error text output by the
helper is not noticed.

Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport-helper.c