• Brandon Williams's avatar
    protocol: introduce protocol extension mechanisms · 373d70ef
    Brandon Williams authored
    Create protocol.{c,h} and provide functions which future servers and
    clients can use to determine which protocol to use or is being used.
    Also introduce the 'GIT_PROTOCOL' environment variable which will be
    used to communicate a colon separated list of keys with optional values
    to a server.  Unknown keys and values must be tolerated.  This mechanism
    is used to communicate which version of the wire protocol a client would
    like to use with a server.
    Signed-off-by: default avatarBrandon Williams <bmwill@google.com>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
protocol.h 1.07 KB