From ecc3e5342de203fa2d84c4a49a46aaa87289534b Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Mon, 23 Apr 2018 15:46:22 -0700 Subject: 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 Signed-off-by: Junio C Hamano --- serve.c | 1 + 1 file changed, 1 insertion(+) (limited to 'serve.c') diff --git a/serve.c b/serve.c index a5a7b2f7dd..bda085f09c 100644 --- a/serve.c +++ b/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) -- cgit v1.2.3