commit 13ce8c9368c159db1a4d9471a6cf7cf7cd83b73b from: Stefan Sperling date: Wed Mar 18 16:10:33 2020 UTC add missing space between first wanted hash and our capability string commit - a6f88e332aa24e7cfaae6cdf8f129bf33effcd88 commit + 13ce8c9368c159db1a4d9471a6cf7cf7cd83b73b blob - 7ad3862a3ef4a2237172bd72eb254dfacba8929e blob + 4fb64788f5a648f7f34e87ff0205d269d68c990d --- libexec/got-fetch-pack/got-fetch-pack.c +++ libexec/got-fetch-pack/got-fetch-pack.c @@ -473,7 +473,8 @@ fetch_pack(int fd, int packfd, struct got_object_id *p if (got_has_object(&want[i])) continue; got_sha1_digest_to_str(want[i].sha1, hashstr, sizeof(hashstr)); - n = snprintf(buf, sizeof(buf), "want %s%s\n", hashstr, + n = snprintf(buf, sizeof(buf), "want %s%s%s\n", hashstr, + i == 0 && my_capabilities ? " " : "", i == 0 && my_capabilities ? my_capabilities : ""); if (n >= sizeof(buf)) { err = got_error(GOT_ERR_NO_SPACE);