diff options
-rw-r--r-- | diff.c | 2 | ||||
-rw-r--r-- | remote-curl.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -5354,7 +5354,7 @@ static void prep_parse_options(struct diff_options *options) N_("show the given source prefix instead of \"a/\""), PARSE_OPT_NONEG), OPT_STRING_F(0, "dst-prefix", &options->b_prefix, N_("<prefix>"), - N_("show the given source prefix instead of \"b/\""), + N_("show the given destination prefix instead of \"b/\""), PARSE_OPT_NONEG), OPT_CALLBACK_F(0, "line-prefix", options, N_("<prefix>"), N_("prepend an additional prefix to every line of output"), diff --git a/remote-curl.c b/remote-curl.c index a1bf4f68c7..051f26629d 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); |