transport-helper: mention helper name when it dies
commitc096955c5bb8e20186cc7c07d4d12b77ddcd01c6
authorJeff King <peff@peff.net>
Wed, 10 Apr 2013 21:16:03 +0000 (10 17:16 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Apr 2013 16:00:54 +0000 (11 09:00 -0700)
tree2dd5a22cee610cc01ad9a1762f1ab239ab44e517
parent81d340d40af506eda3182190b6132575547fa4c5
transport-helper: mention helper name when it dies

When we try to read from a remote-helper and get EOF or an
error, we print a message indicating that the helper died.
However, users may not know that a remote helper was in use
(e.g., when using git-over-http), or even what a remote
helper is.

Let's print the name of the helper (e.g., "git-remote-https");
this makes it more obvious what the program is for, and
provides a useful token for reporting bugs or searching for
more information (e.g., in manpages).

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