]> git.ipfire.org Git - thirdparty/git.git/commit
sideband: mark "remote error:" prefix for translation
authorJeff King <peff@peff.net>
Fri, 7 Aug 2020 08:56:49 +0000 (04:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Aug 2020 19:01:57 +0000 (12:01 -0700)
commit7c694024d4e119438a555469814e7d6ff0bac116
tree2f7d77117fbd3332b1d431999b6e4214fafd1333
parent47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
sideband: mark "remote error:" prefix for translation

A Git client may produce a "remote error:" message (along with whatever
error the other side sent us) in two places:

  - when we see an ERR packet

  - when we're using a sideband and see sideband 3

We can't reliably translate the message the other side sent us, but we
can do so for our own prefix. However, we translate only the ERR-packet
case but not the sideband-3 case. Let's make them consistent (by marking
both for translation).

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