aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-08-17 17:02:45 -0700
committerJunio C Hamano <gitster@pobox.com>2020-08-17 17:02:45 -0700
commit789279e7f8439ea0e0727f6de36b2edafcbc5f3c (patch)
tree676b4eb2344df3a5c3ba9a44bc8aa9c0b12db4d2
parenta01dadb9a94856ba098140417d99c3b7cd4a2cc9 (diff)
parent7c694024d4e119438a555469814e7d6ff0bac116 (diff)
downloadgit-789279e7f8439ea0e0727f6de36b2edafcbc5f3c.tar.gz
Merge branch 'jk/sideband-error-l10n'
Mark error message for i18n. * jk/sideband-error-l10n: sideband: mark "remote error:" prefix for translation
-rw-r--r--sideband.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sideband.c b/sideband.c
index ef851113c4..0a60662fa6 100644
--- a/sideband.c
+++ b/sideband.c
@@ -147,7 +147,7 @@ int demultiplex_sideband(const char *me, char *buf, int len,
switch (band) {
case 3:
if (die_on_error)
- die("remote error: %s", buf + 1);
+ die(_("remote error: %s"), buf + 1);
strbuf_addf(scratch, "%s%s", scratch->len ? "\n" : "",
DISPLAY_PREFIX);
maybe_colorize_sideband(scratch, buf + 1, len);