t3311: use test_commit_bulk
[gitweb.git] / remote-curl.c
index a1bf4f68c77d9e3b46fe2008a00c21b08b754060..051f26629d7b9f6679e47f6dc353f09c16c377ae 100644 (file)
@@ -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);