send-pack: improve unpack-status error messages
[gitweb.git] / send-pack.c
index 243633da17784cdb14ae056b0b9015f9e439d76c..83c23aef6ac787a7870c86cb2fc311af1dcbb619 100644 (file)
@@ -134,9 +134,9 @@ static int receive_unpack_status(int in)
 {
        const char *line = packet_read_line(in, NULL);
        if (!skip_prefix(line, "unpack ", &line))
-               return error("did not receive remote status");
+               return error(_("unable to parse remote unpack status: %s"), line);
        if (strcmp(line, "ok"))
-               return error("unpack failed: %s", line);
+               return error(_("remote unpack failed: %s"), line);
        return 0;
 }