summaryrefslogtreecommitdiff
path: root/remote-curl.c
diff options
context:
space:
mode:
authorJiang Xin <worldhello.net@gmail.com>2019-06-02 15:11:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-06-03 18:10:53 (GMT)
commit8a1569d655f599e803046de193b46a3d1d202b97 (patch)
tree68376cbdb6e36933e3fa29a9d3beaf9753dc2b72 /remote-curl.c
parentee70b40e8deb43c61ad3ed2f3d7aa18b6121b6da (diff)
downloadgit-8a1569d655f599e803046de193b46a3d1d202b97.zip
git-8a1569d655f599e803046de193b46a3d1d202b97.tar.gz
git-8a1569d655f599e803046de193b46a3d1d202b97.tar.bz2
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>
Diffstat (limited to 'remote-curl.c')
-rw-r--r--remote-curl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote-curl.c b/remote-curl.c
index a1bf4f6..051f266 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -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);