receive-pack: send auto-gc output over sideband 2
commit860a2ebecd26563e6ac0f89c90052b41a17d1703
authorLukas Fleischer <lfleischer@lfos.de>
Sun, 5 Jun 2016 09:36:38 +0000 (5 11:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jun 2016 17:58:55 +0000 (6 10:58 -0700)
tree76f73bcbe3d28abbc81026803389624df53fd345
parent4b0891ffe4ec3aef081cf48c5f9a747586076f7a
receive-pack: send auto-gc output over sideband 2

Redirect auto-gc output to the sideband such that it is visible to all
clients. As a side effect, all auto-gc error messages are now prefixed
with "remote: " before being printed to stderr on the client-side which
makes it easier to understand that those error messages originate from
the server.

Signed-off-by: Lukas Fleischer <lfleischer@lfos.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c