Skip to content

Commit 8a1569d

Browse files
jiangxingitster
authored andcommitted
i18n: fix typos found during l10n for git 2.22.0
Fix two typos introduced by the following commits: + 31fba9d (diff-parseopt: convert --[src|dst]-prefix, 2019-03-24) + ed8b413 (remote-curl: mark all error messages for translation, 2019-03-05) Signed-off-by: Jiang Xin <[email protected]> Acked-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ee70b40 commit 8a1569d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5354,7 +5354,7 @@ static void prep_parse_options(struct diff_options *options)
53545354
N_("show the given source prefix instead of \"a/\""),
53555355
PARSE_OPT_NONEG),
53565356
OPT_STRING_F(0, "dst-prefix", &options->b_prefix, N_("<prefix>"),
5357-
N_("show the given source prefix instead of \"b/\""),
5357+
N_("show the given destination prefix instead of \"b/\""),
53585358
PARSE_OPT_NONEG),
53595359
OPT_CALLBACK_F(0, "line-prefix", options, N_("<prefix>"),
53605360
N_("prepend an additional prefix to every line of output"),

remote-curl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,13 +1117,13 @@ static void parse_fetch(struct strbuf *buf)
11171117
const char *q;
11181118

11191119
if (parse_oid_hex(p, &old_oid, &q))
1120-
die(_("protocol error: expected sha/ref, got %s'"), p);
1120+
die(_("protocol error: expected sha/ref, got '%s'"), p);
11211121
if (*q == ' ')
11221122
name = q + 1;
11231123
else if (!*q)
11241124
name = "";
11251125
else
1126-
die(_("protocol error: expected sha/ref, got %s'"), p);
1126+
die(_("protocol error: expected sha/ref, got '%s'"), p);
11271127

11281128
ref = alloc_ref(name);
11291129
oidcpy(&ref->old_oid, &old_oid);

0 commit comments

Comments
 (0)