Merge branch 'nd/worktree-list-fixup' into maint
[gitweb.git] / connect.c
index d99d6435fd01754e3b0f23537d7e1b385a26f262..8cb93b0720d9a33d8fc0cddb21c3d1c1a789da96 100644 (file)
--- a/connect.c
+++ b/connect.c
@@ -750,7 +750,7 @@ struct child_process *git_connect(int fd[2], const char *url,
                 * Note: Do not add any other headers here!  Doing so
                 * will cause older git-daemon servers to crash.
                 */
-               packet_write(fd[1],
+               packet_write_fmt(fd[1],
                             "%s %s%chost=%s%c",
                             prog, path, 0,
                             target_host, 0);