author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 28 Oct 2005 02:48:54 +0000 (04:48 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 29 Oct 2005 05:57:00 +0000 (22:57 -0700) | ||
commit | 211b5f9e62cc961acda59392fbf5a3efa8106c97 | |
tree | 34b786ce5431b5af896db98825eb1bb167fe1683 | tree | snapshot |
parent | f0243f26f6d8403cd8e83c7d498c81e01a1f1735 | commit | diff |
Support receiving server capabilities
This patch implements the client side of backward compatible upload-pack
protocol extension, <20051027141619.0e8029f2.vsu@altlinux.ru> by Sergey.
The updated server can append "server_capabilities" which is supposed
to be a string containing space separated features of the server, after
one of elements in the initial list of SHA1-refname line, hidden with
an embedded NUL.
After get_remote_heads(), check if the server supports the feature like
if (server_supports("multi_ack"))
do_something();
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This patch implements the client side of backward compatible upload-pack
protocol extension, <20051027141619.0e8029f2.vsu@altlinux.ru> by Sergey.
The updated server can append "server_capabilities" which is supposed
to be a string containing space separated features of the server, after
one of elements in the initial list of SHA1-refname line, hidden with
an embedded NUL.
After get_remote_heads(), check if the server supports the feature like
if (server_supports("multi_ack"))
do_something();
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h | diff | blob | history | |
connect.c | diff | blob | history |