diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-06-06 23:49:28 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-06 23:49:28 -0700 |
commit | 3ff7e178dc5c93e9d5b2738b1738a1a230a1b81a (patch) | |
tree | 390381a4758d234cd6ce6b33633eab511d1966fb /connect.c | |
parent | 6096d7598058d920485d206477f4383ba1a862cb (diff) | |
parent | 801a011dcf41f0415dee81f0500673e058bdee30 (diff) | |
download | git-3ff7e178dc5c93e9d5b2738b1738a1a230a1b81a.tar.gz |
Merge branch 'maint'
* maint:
Documentation: refer to gitworkflows(7) from tutorial and git(1)
daemon: Strictly parse the "extra arg" part of the command
Diffstat (limited to 'connect.c')
-rw-r--r-- | connect.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -579,7 +579,10 @@ struct child_process *git_connect(int fd[2], const char *url_orig, git_tcp_connect(fd, host, flags); /* * Separate original protocol components prog and path - * from extended components with a NUL byte. + * from extended host header with a NUL byte. + * + * Note: Do not add any other headers here! Doing so + * will cause older git-daemon servers to crash. */ packet_write(fd[1], "%s %s%chost=%s%c", |