Merge branch 'jt/clone-server-option'

A brown-paper-bag bugfix to a change already in 'master'.

* jt/clone-server-option:
  fetch-pack: send server options after command
This commit is contained in:
Junio C Hamano 2019-05-30 10:50:46 -07:00
commit 0e5387cd02
1 changed files with 1 additions and 1 deletions

View 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);
}