serve: introduce the server-option capability
Introduce the "server-option" capability to protocol version 2. This enables future clients the ability to send server specific options in command requests when using protocol version 2. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
bbc39d4020
commit
ecc3e5342d
1
serve.c
1
serve.c
@ -56,6 +56,7 @@ static struct protocol_capability capabilities[] = {
|
||||
{ "agent", agent_advertise, NULL },
|
||||
{ "ls-refs", always_advertise, ls_refs },
|
||||
{ "fetch", upload_pack_advertise, upload_pack_v2 },
|
||||
{ "server-option", always_advertise, NULL },
|
||||
};
|
||||
|
||||
static void advertise_capabilities(void)
|
||||
|
Reference in New Issue
Block a user