i18n: fix typos found during l10n for git 2.22.0
Fix two typos introduced by the following commits: +31fba9d3b4
(diff-parseopt: convert --[src|dst]-prefix, 2019-03-24) +ed8b4132c8
(remote-curl: mark all error messages for translation, 2019-03-05) Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
ee70b40e8d
commit
8a1569d655
@ -1117,13 +1117,13 @@ static void parse_fetch(struct strbuf *buf)
|
||||
const char *q;
|
||||
|
||||
if (parse_oid_hex(p, &old_oid, &q))
|
||||
die(_("protocol error: expected sha/ref, got %s'"), p);
|
||||
die(_("protocol error: expected sha/ref, got '%s'"), p);
|
||||
if (*q == ' ')
|
||||
name = q + 1;
|
||||
else if (!*q)
|
||||
name = "";
|
||||
else
|
||||
die(_("protocol error: expected sha/ref, got %s'"), p);
|
||||
die(_("protocol error: expected sha/ref, got '%s'"), p);
|
||||
|
||||
ref = alloc_ref(name);
|
||||
oidcpy(&ref->old_oid, &old_oid);
|
||||
|
Reference in New Issue
Block a user