]> git.ipfire.org Git - thirdparty/git.git/blobdiff - fetch-pack.c
grep tests: move binary pattern tests into their own file
[thirdparty/git.git] / fetch-pack.c
index 3f24d0c8a69f5d105f796b8102cb37e4213a0e86..1c10f54e788ca53b548a226a66dd1eec96a8cb22 100644 (file)
@@ -1115,7 +1115,7 @@ static int send_fetch_request(struct fetch_negotiator *negotiator, int fd_out,
            server_supports_v2("server-option", 1)) {
                int i;
                for (i = 0; i < args->server_options->nr; i++)
-                       packet_write_fmt(fd_out, "server-option=%s",
+                       packet_buf_write(&req_buf, "server-option=%s",
                                         args->server_options->items[i].string);
        }