serve: advertise session ID in v2 capabilities
commit6b5b6e422ee3d84feccc1b09c18188fedaaed761
authorJosh Steadmon <steadmon@google.com>
Wed, 11 Nov 2020 23:29:29 +0000 (11 15:29 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Nov 2020 02:26:53 +0000 (11 18:26 -0800)
treee91a6165b60ead887d5ca19822d164191e3e2cb5
parent8073d75bbf268da6da36f06ab2d1f0d9018bd74d
serve: advertise session ID in v2 capabilities

When transfer.advertiseSID is true, advertise the server's session ID
for all protocol v2 connections via the new session-id capability.

Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
serve.c